17466235 : 모듈 다중 관리 안되는 문제 수정. srl=A,B인 경우에 A만 int로 변환해서 넘기고 있었음.

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

View file

@ -600,7 +600,8 @@
* _srl, page, cpage등의 변수는 integer로 형변환
**/
function _filterRequestVar($key, $val) {
if($key == "page" || $key == "cpage" || substr($key,-3)=="srl") return (int)$val;
if($key == "page" || $key == "cpage" || substr($key,-3)=="srl")
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);