minor fix

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4905 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
haneul 2008-11-19 08:31:38 +00:00
parent a57b1f63e6
commit ab71c6d468

View file

@ -601,7 +601,7 @@
**/
function _filterRequestVar($key, $val) {
if($key == "page" || $key == "cpage" || substr($key,-3)=="srl")
return (strpos($val, ',') != false)?$val:(int)$val;
return (strpos($val, ',') !== false)?$val:(int)$val;
if(is_array($val) && count($val) ) {
foreach($val as $k => $v) {
if(version_compare(PHP_VERSION, "5.9.0", "<") && get_magic_quotes_gpc()) $v = stripslashes($v);