mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 02:31:40 +09:00
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:
parent
f5bd5e7a9b
commit
a57b1f63e6
1 changed files with 2 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue