mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-20 11:49:56 +09:00
issue 2177 add code about use "addslash"
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10845 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
6a5e82d225
commit
2165f59b04
1 changed files with 6 additions and 0 deletions
|
|
@ -879,6 +879,12 @@
|
|||
$normal_btn = str_replace(array('&','"','<','>'),array('&','"','<','>'),$node->normal_btn);
|
||||
$hover_btn = str_replace(array('&','"','<','>'),array('&','"','<','>'),$node->hover_btn);
|
||||
$active_btn = str_replace(array('&','"','<','>'),array('&','"','<','>'),$node->active_btn);
|
||||
|
||||
foreach($child_output['url_list'] as $key =>$val)
|
||||
{
|
||||
$child_output['url_list'][$key] = addslashes($val);
|
||||
}
|
||||
|
||||
$selected = '"'.implode('","',$child_output['url_list']).'"';
|
||||
$child_buff = $child_output['buff'];
|
||||
$expand = $node->expand;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue