mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-27 22:33:10 +09:00
fix #991 배열로 넘겨진 parameter를 제대로 받지 못하는 문제 고침
This commit is contained in:
parent
3d08e371a9
commit
6d5235f902
1 changed files with 5 additions and 3 deletions
|
|
@ -1281,14 +1281,16 @@ class Context
|
|||
}
|
||||
else
|
||||
{
|
||||
$result[$k] = $v;
|
||||
|
||||
if($do_stripslashes && version_compare(PHP_VERSION, '5.9.0', '<') && get_magic_quotes_gpc())
|
||||
{
|
||||
$v = stripslashes($v);
|
||||
$result[$k] = stripslashes($result[$k]);
|
||||
}
|
||||
|
||||
if(!is_array($v))
|
||||
if(!is_array($result[$k]))
|
||||
{
|
||||
$result[$k] = trim($v);
|
||||
$result[$k] = trim($result[$k]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue