mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
Merge branch 'hotfix/1.7.7.2' into develop
This commit is contained in:
commit
7167de7b88
6 changed files with 14 additions and 51 deletions
|
|
@ -1295,14 +1295,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