mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-19 18:32:52 +09:00
issue 1985 when insert db, add htmlspecialchars to menu name
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.3.1@10899 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
f653aea372
commit
bb3ad0734f
2 changed files with 9 additions and 2 deletions
|
|
@ -160,6 +160,11 @@
|
|||
else
|
||||
$args->name = $source_args->menu_name;
|
||||
|
||||
if(!strstr($args->name, '$user_lang->'))
|
||||
{
|
||||
$args->name = htmlspecialchars($args->name);
|
||||
}
|
||||
|
||||
$args->url = trim($source_args->menu_url);
|
||||
$args->open_window = $source_args->menu_open_window;
|
||||
$args->expand = $source_args->menu_expand;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue