From f0deec10d6a20d738d0974ce43cdf9241f4f0f95 Mon Sep 17 00:00:00 2001 From: rMalie Date: Fri, 9 Mar 2012 10:30:17 +0000 Subject: [PATCH] // Fix autoload git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@13996 b9a71923-0436-4b27-9f14-aed3839534dd --- classes/Autoload.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/Autoload.php b/classes/Autoload.php index 96bb8f54d..84bdf0bcd 100644 --- a/classes/Autoload.php +++ b/classes/Autoload.php @@ -80,7 +80,7 @@ class Autoload // regenerate the class index if the requested class is not found in the index or if the requested file doesn't exists if (!isset($this->index[$classname]) || ($this->index[$classname] && !is_file($this->root_dir.$this->index[$classname])) - || (isset($this->index[$classname.'Core']) && $this->index[$classname.'Core'] && !is_file($this->root_dir.$this->index[$classname]))) + || (isset($this->index[$classname.'Core']) && $this->index[$classname.'Core'] && !is_file($this->root_dir.$this->index[$classname.'Core']))) $this->generateIndex(); // If $classname has not core suffix (E.g. Shop, Product)