Minahito
minah****@users*****
2006年 5月 28日 (日) 14:02:55 JST
Index: xoops2jp/html/modules/base/class/ActionFrame.class.php diff -u xoops2jp/html/modules/base/class/ActionFrame.class.php:1.1.2.5 xoops2jp/html/modules/base/class/ActionFrame.class.php:1.1.2.6 --- xoops2jp/html/modules/base/class/ActionFrame.class.php:1.1.2.5 Tue Apr 11 19:21:09 2006 +++ xoops2jp/html/modules/base/class/ActionFrame.class.php Sun May 28 14:02:55 2006 @@ -62,6 +62,8 @@ die(); } + $this->mAction->prepare($controller, $controller->getXoopsUser()); + if (!$this->mAction->hasPerm($controller, $controller->getXoopsUser())) { if ($this->mAdminFlag) { $controller->executeForward(XOOPS_URL . "/admin.php"); @@ -71,8 +73,6 @@ } } - $this->mAction->prepare($controller, $controller->getXoopsUser()); - if (xoops_getenv("REQUEST_METHOD") == "POST") { $viewStatus = $this->mAction->execute($controller, $controller->getXoopsUser()); }