diff --git a/classes/Autoload.php b/classes/Autoload.php index 94b5fc995..21d939640 100644 --- a/classes/Autoload.php +++ b/classes/Autoload.php @@ -88,7 +88,7 @@ class Autoload if (substr($classname, -4) != 'Core') { // If requested class does not exist, load associated core class - if (isset($this->index[$classname]) && !$this->indexTest[$classname]) + if (isset($this->index[$classname]) && !$this->index[$classname]) { require_once($this->root_dir.$this->index[$classname.'Core']); if (file_exists($this->root_dir.'override/'.$this->index[$classname.'Core']))