mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 03:01:43 +09:00
not encode when value is $user_lang
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8861 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
fe9a50c6c0
commit
49cbb86e7d
1 changed files with 1 additions and 1 deletions
|
|
@ -72,7 +72,7 @@ class Security
|
|||
function _encodeHTML($var, $name=array())
|
||||
{
|
||||
if(is_string($var)) {
|
||||
$var = htmlspecialchars($var);
|
||||
if (!preg_match('/^\$user_lang->/', $var)) $var = htmlspecialchars($var);
|
||||
return $var;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue