Minahito
minah****@users*****
2006年 3月 30日 (木) 23:55:03 JST
Index: xoops2jp/html/modules/base/class/comment.php diff -u xoops2jp/html/modules/base/class/comment.php:1.1.2.5 xoops2jp/html/modules/base/class/comment.php:1.1.2.6 --- xoops2jp/html/modules/base/class/comment.php:1.1.2.5 Thu Mar 30 18:13:08 2006 +++ xoops2jp/html/modules/base/class/comment.php Thu Mar 30 23:55:02 2006 @@ -6,6 +6,7 @@ { var $mUser = null; var $mModule = null; + var $mStatus = null; function BaseCommentObject() { @@ -48,6 +49,12 @@ $handler =& xoops_gethandler('module'); $this->mModule =& $handler->get($this->get('com_modid')); } + + function loadStatus() + { + $handler =& xoops_getmodulehandler('commentstatus', 'base'); + $this->mStatus =& $handler->get($this->get('com_status')); + } } class BaseCommentHandler extends XoopsObjectGenericHandler