// Upgrade improvements including #PSCFV-3451

This commit is contained in:
dMetzger
2012-08-14 12:21:18 +00:00
parent a1d1158af1
commit 935a6b2064
3 changed files with 70 additions and 2 deletions
+2 -2
View File
@@ -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;