Minahito
minah****@users*****
2006年 10月 5日 (木) 18:10:38 JST
Index: xoops2jp/html/modules/pm/forms/PmliteEditForm.class.php diff -u xoops2jp/html/modules/pm/forms/PmliteEditForm.class.php:1.1.2.10.2.2 xoops2jp/html/modules/pm/forms/PmliteEditForm.class.php:1.1.2.10.2.3 --- xoops2jp/html/modules/pm/forms/PmliteEditForm.class.php:1.1.2.10.2.2 Fri Sep 29 17:14:45 2006 +++ xoops2jp/html/modules/pm/forms/PmliteEditForm.class.php Thu Oct 5 18:10:38 2006 @@ -198,7 +198,7 @@ $pm =& $handler->get($form->get('msg_id')); if (is_object($pm)) { $root =& XCube_Root::getSingleton(); - $currentUser =& $root->mController->getXoopsUser(); + $currentUser =& $root->mContext->mXoopsUser; if ($pm->get('to_userid') == $currentUser->get('uid')) { $form->setToUserByUid($pm->get('from_userid'));