// Upgrade improvements including #PSCFV-3451
This commit is contained in:
1 parent
11d8d9fd3c
commit
826b46cf80
3 files changed
+70
-2
No files matched your search
@@ -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