From: <ir...@us...> - 2013-02-06 03:07:31
|
Revision: 10995 http://sourceforge.net/p/xoops/svn/10995 Author: irmtfan Date: 2013-02-06 03:07:29 +0000 (Wed, 06 Feb 2013) Log Message: ----------- bug fix: Undefined index: newbb config in blocks activated in some modules like profile Modified Paths: -------------- XoopsModules/newbb/branches/irmtfan/newbb/changelog-rev10109.txt XoopsModules/newbb/branches/irmtfan/newbb/class/post.php Modified: XoopsModules/newbb/branches/irmtfan/newbb/changelog-rev10109.txt =================================================================== --- XoopsModules/newbb/branches/irmtfan/newbb/changelog-rev10109.txt 2013-02-06 01:58:40 UTC (rev 10994) +++ XoopsModules/newbb/branches/irmtfan/newbb/changelog-rev10109.txt 2013-02-06 03:07:29 UTC (rev 10995) @@ -3,6 +3,8 @@ 1- bug fix: Undefined variable: forumCookie revert last change - use global instead of include_once in newbb/footer.php +2- bug fix: Undefined index: newbb config in blocks activated in some modules like profile + date 2013-02-05 =================================== 1- bug fix: when update the type for a specific forum it delete other forum's types too.(important) Modified: XoopsModules/newbb/branches/irmtfan/newbb/class/post.php =================================================================== --- XoopsModules/newbb/branches/irmtfan/newbb/class/post.php 2013-02-06 01:58:40 UTC (rev 10994) +++ XoopsModules/newbb/branches/irmtfan/newbb/class/post.php 2013-02-06 03:07:29 UTC (rev 10995) @@ -263,7 +263,8 @@ function &getPostBody() { - global $xoopsConfig, $xoopsModuleConfig, $xoopsUser, $myts; + global $xoopsConfig, $xoopsUser, $myts; + $xoopsModuleConfig = newbb_load_config(); // irmtfan load all newbb configs - newbb config in blocks activated in some modules like profile mod_loadFunctions("user", "newbb"); mod_loadFunctions("render", "newbb"); |