Minahito
minah****@users*****
2006年 7月 27日 (木) 22:04:05 JST
Index: xoops2jp/html/modules/pm/actions/DeleteOneAction.class.php diff -u xoops2jp/html/modules/pm/actions/DeleteOneAction.class.php:1.1.2.1 xoops2jp/html/modules/pm/actions/DeleteOneAction.class.php:1.1.2.2 --- xoops2jp/html/modules/pm/actions/DeleteOneAction.class.php:1.1.2.1 Thu Jul 27 18:40:18 2006 +++ xoops2jp/html/modules/pm/actions/DeleteOneAction.class.php Thu Jul 27 22:04:05 2006 @@ -1,7 +1,7 @@ <?php /** * @package pm - * @version $Id: DeleteOneAction.class.php,v 1.1.2.1 2006/07/27 09:40:18 minahito Exp $ + * @version $Id: DeleteOneAction.class.php,v 1.1.2.2 2006/07/27 13:04:05 minahito Exp $ */ if (!defined('XOOPS_ROOT_PATH')) exit(); @@ -43,6 +43,11 @@ $render->setTemplateName("pm_delete_one.html"); $render->setAttribute('actionForm', $this->mActionForm); $render->setAttribute('object', $this->mObject); + + $sendUser =& $this->mObject->getFromUser(); + if (is_object($sendUser) && $sendUser->isActive()) { + $render->setAttribute("sendUser", $sendUser); + } } function executeViewSuccess(&$controller, &$xoopsUser, &$render)