Minahito
minah****@users*****
2006年 7月 10日 (月) 13:50:17 JST
Index: xoops2jp/html/modules/legacyRender/admin/actions/BannerclientDeleteAction.class.php diff -u xoops2jp/html/modules/legacyRender/admin/actions/BannerclientDeleteAction.class.php:1.1.2.1 xoops2jp/html/modules/legacyRender/admin/actions/BannerclientDeleteAction.class.php:1.1.2.2 --- xoops2jp/html/modules/legacyRender/admin/actions/BannerclientDeleteAction.class.php:1.1.2.1 Mon Apr 24 16:30:10 2006 +++ xoops2jp/html/modules/legacyRender/admin/actions/BannerclientDeleteAction.class.php Mon Jul 10 13:50:17 2006 @@ -1,4 +1,8 @@ <?php +/** + * @package legacyRender + * @version $Id: BannerclientDeleteAction.class.php,v 1.1.2.2 2006/07/10 04:50:17 minahito Exp $ + */ if (!defined('XOOPS_ROOT_PATH')) exit(); @@ -9,7 +13,7 @@ { function _getId() { - return isset($_REQUEST['cid']) ? $_REQUEST['cid'] : 0; + return xoops_getrequest('cid'); } function &_getHandler() @@ -40,7 +44,7 @@ function executeViewError(&$controller, &$xoopsUser, &$render) { - redirect_header("./index.php?action=BannerclientList", 1, _AD_LEGACYRENDER_ERROR_DBUPDATE_FAILED); + $controller->executeRedirect("./index.php?action=BannerclientList", 1, _AD_LEGACYRENDER_ERROR_DBUPDATE_FAILED); } }