|
From: <tr...@us...> - 2012-12-16 00:31:57
|
Revision: 10398
http://sourceforge.net/p/xoops/svn/10398
Author: trabis
Date: 2012-12-16 00:31:55 +0000 (Sun, 16 Dec 2012)
Log Message:
-----------
Legacy XoopsModuleConfig was being overwritten
Modified Paths:
--------------
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/Xoops.php
Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/Xoops.php
===================================================================
--- XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/Xoops.php 2012-12-15 22:45:23 UTC (rev 10397)
+++ XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/Xoops.php 2012-12-16 00:31:55 UTC (rev 10398)
@@ -1625,7 +1625,7 @@
$this->_moduleConfigs[$dirname] = $this->getHandlerConfig()->getConfigsByCat(0, $module->getVar('mid'));
}
if ($this->isModule()) {
- $this->moduleConfig =& $this->_moduleConfigs[$module->getVar('dirname')];
+ $this->moduleConfig =& $this->_moduleConfigs[$this->module->getVar('dirname')];
}
return $this->_moduleConfigs[$dirname];
}
|