mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
BUGFIX Check for the correct type for $data['namespace']
This commit is contained in:
parent
97f8cc4ab3
commit
da2ac79205
@ -319,7 +319,7 @@ class SS_ClassManifest {
|
||||
if ($data = $this->cache->load($key)) {
|
||||
$valid = (
|
||||
isset($data['classes']) && isset($data['interfaces']) && isset($data['namespace'])
|
||||
&& is_array($data['classes']) && is_array($data['interfaces']) && is_array($data['namespace'])
|
||||
&& is_array($data['classes']) && is_array($data['interfaces']) && is_string($data['namespace'])
|
||||
);
|
||||
|
||||
if ($valid) {
|
||||
|
Loading…
Reference in New Issue
Block a user