BUGFIX Check for the correct type for $data['namespace']

This commit is contained in:
Simon Welsh 2011-12-17 14:32:14 +13:00
parent 97f8cc4ab3
commit da2ac79205

View File

@ -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) {