mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-10 04:03:01 +09:00
issue 662, duplicate escape quote problem whe using multilingual UI
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9711 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
74ccaeee79
commit
b0e5f5bad9
1 changed files with 7 additions and 1 deletions
|
|
@ -463,6 +463,12 @@
|
|||
$args->lang_code = $key;
|
||||
$args->value = trim(Context::get($key));
|
||||
|
||||
// if request method is json, strip slashes
|
||||
if (Context::getRequestMethod() == 'JSON' && version_compare(PHP_VERSION, "5.9.0", "<") && get_magic_quotes_gpc())
|
||||
{
|
||||
$args->value = stripslashes($args->value);
|
||||
}
|
||||
|
||||
if($args->value)
|
||||
{
|
||||
$output = executeQuery('module.insertLang', $args);
|
||||
|
|
@ -558,7 +564,7 @@
|
|||
|
||||
$security = new Security($mid_list);
|
||||
$security->encodeHTML('....browser_title');
|
||||
|
||||
|
||||
$this->add('module_list', $mid_list);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue