diff --git a/core/ClassInfo.php b/core/ClassInfo.php index 784f9fe12..3c0fe0a85 100755 --- a/core/ClassInfo.php +++ b/core/ClassInfo.php @@ -168,7 +168,7 @@ class ClassInfo { */ static function classImplements($className, $interfaceName) { global $_ALL_CLASSES; - return isset($_ALL_CLASSES['implementors'][$interfaceName]) ? in_array($className, $_ALL_CLASSES['implementors'][$interfaceName]) : false; + return isset($_ALL_CLASSES['implementors'][$interfaceName][$className]); } /**