From: <ma...@us...> - 2012-11-25 11:17:40
|
Revision: 10272 http://sourceforge.net/p/xoops/svn/10272 Author: mageg Date: 2012-11-25 11:17:38 +0000 (Sun, 25 Nov 2012) Log Message: ----------- little bug in comment_view.php Modified Paths: -------------- XoopsCore/branches/2.6.x/2.6.0/htdocs/include/comment_view.php Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/include/comment_view.php =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/include/comment_view.php 2012-11-25 01:21:41 UTC (rev 10271) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/include/comment_view.php 2012-11-25 11:17:38 UTC (rev 10272) @@ -25,7 +25,7 @@ include_once $xoops->path('include/comment_constants.php'); -if (XOOPS_COMMENT_APPROVENONE != $xoops->moduleConfig['com_rule']) { +if (XOOPS_COMMENT_APPROVENONE != $xoops->getModuleConfig('com_rule')) { include_once $xoops->path('modules/system/constants.php'); $gperm_handler = $xoops->getHandlerGroupperm(); $groups = $xoops->isUser() ? $xoops->user->getGroups() : XOOPS_GROUP_ANONYMOUS; |