Minahito
minah****@users*****
2006年 8月 1日 (火) 19:31:44 JST
Index: xoops2jp/html/modules/base/admin/actions/ImagecategoryEditAction.class.php diff -u xoops2jp/html/modules/base/admin/actions/ImagecategoryEditAction.class.php:1.1.2.1 xoops2jp/html/modules/base/admin/actions/ImagecategoryEditAction.class.php:1.1.2.2 --- xoops2jp/html/modules/base/admin/actions/ImagecategoryEditAction.class.php:1.1.2.1 Tue May 9 19:20:23 2006 +++ xoops2jp/html/modules/base/admin/actions/ImagecategoryEditAction.class.php Tue Aug 1 19:31:44 2006 @@ -1,4 +1,8 @@ <?php +/** + * @package Legacy + * @version $Id: ImagecategoryEditAction.class.php,v 1.1.2.2 2006/08/01 10:31:44 minahito Exp $ + */ if (!defined('XOOPS_ROOT_PATH')) exit(); @@ -10,7 +14,7 @@ { function _getId() { - return isset($_REQUEST['imgcat_id']) ? $_REQUEST['imgcat_id'] : 0; + return isset($_REQUEST['imgcat_id']) ? xoops_getrequest('imgcat_id') : 0; } function &_getHandler() @@ -52,7 +56,12 @@ function executeViewError(&$controller, &$xoopsUser, &$render) { - redirect_header("./index.php?action=ImagecategoryList", 1, _AD_BASE_ERROR_DBUPDATE_FAILED); + $controller->executeRedirect("./index.php?action=ImagecategoryList", 1, _AD_BASE_ERROR_DBUPDATE_FAILED); + } + + function executeViewCancel(&$controller, &$xoopsUser, &$render) + { + $controller->executeForward("./index.php?action=ImagecategoryList"); } }