mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
fixed PHP notice in implementorsOf
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@47581 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
817f7604c6
commit
3a47be1430
@ -107,7 +107,7 @@ class ClassInfo {
|
||||
*/
|
||||
static function implementorsOf($interfaceName) {
|
||||
global $_ALL_CLASSES;
|
||||
return $_ALL_CLASSES['implementors'][$interfaceName];
|
||||
return (isset($_ALL_CLASSES['implementors'][$interfaceName])) ? $_ALL_CLASSES['implementors'][$interfaceName] : false;
|
||||
}
|
||||
}
|
||||
?>
|
Loading…
Reference in New Issue
Block a user