Minahito
minah****@users*****
2006年 10月 7日 (土) 17:18:46 JST
Index: xoops2jp/html/core/XCube_HttpContext.class.php diff -u xoops2jp/html/core/XCube_HttpContext.class.php:1.1.2.2 xoops2jp/html/core/XCube_HttpContext.class.php:1.1.2.3 --- xoops2jp/html/core/XCube_HttpContext.class.php:1.1.2.2 Fri Oct 6 17:28:50 2006 +++ xoops2jp/html/core/XCube_HttpContext.class.php Sat Oct 7 17:18:46 2006 @@ -1,7 +1,7 @@ <?php /** * @package XCube - * @version $Id: XCube_HttpContext.class.php,v 1.1.2.2 2006/10/06 08:28:50 minahito Exp $ + * @version $Id: XCube_HttpContext.class.php,v 1.1.2.3 2006/10/07 08:18:46 minahito Exp $ */ define("XCUBE_CONTEXT_TYPE_DEFAULT", "web_browser"); @@ -163,6 +163,7 @@ } if (is_array($_REQUEST[$key])) { + print_r($_REQUEST[$key]); return $this->_getArrayRequest($_REQUEST[$key]); } @@ -178,12 +179,12 @@ */ function _getArrayRequest($arr) { - foreach (array_keys($arr) as $t_key => $t_value) { - if (is_array($t_value)) { - $arr[$t_key] = $this->_getArrayRequest($t_value); + foreach (array_keys($arr) as $t_key) { + if (is_array($arr[$t_key])) { + $arr[$t_key] = $this->_getArrayRequest($arr[$t_key]); } else { - $arr[$t_key] = stripslashes($t_value); + $arr[$t_key] = stripslashes($arr[$t_key]); } }