From c869ca45505936716c36ee21c48115c3b4bb765f Mon Sep 17 00:00:00 2001 From: rMalie Date: Wed, 11 Jan 2012 17:29:08 +0000 Subject: [PATCH] // Test svn pre-commit git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12378 b9a71923-0436-4b27-9f14-aed3839534dd --- classes/Autoload.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/classes/Autoload.php b/classes/Autoload.php index 3db7fa93a..94b5fc995 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->index[$classname]) + if (isset($this->index[$classname]) && !$this->indexTest[$classname]) { require_once($this->root_dir.$this->index[$classname.'Core']); if (file_exists($this->root_dir.'override/'.$this->index[$classname.'Core'])) @@ -175,4 +175,3 @@ class Autoload return $classes; } } -