// Upgrade improvements including #PSCFV-3451
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@16844 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -167,8 +167,8 @@ abstract class ModuleCore
|
||||
// We load configuration from the cache
|
||||
if (isset(self::$modules_cache[$this->name]))
|
||||
{
|
||||
$this->active = self::$modules_cache[$this->name]['active'];
|
||||
$this->id = self::$modules_cache[$this->name]['id_module'];
|
||||
if (isset(self::$modules_cache[$this->name]['id_module']))
|
||||
$this->id = self::$modules_cache[$this->name]['id_module'];
|
||||
foreach (self::$modules_cache[$this->name] as $key => $value)
|
||||
if (key_exists($key, $this))
|
||||
$this->{$key} = $value;
|
||||
|
||||
Reference in New Issue
Block a user