mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-06 18:21:39 +09:00
Interim fix for admin menu problem after XEVE-16-008 patch
This commit is contained in:
parent
1577955664
commit
67f56845d1
1 changed files with 2 additions and 2 deletions
|
|
@ -1978,10 +1978,10 @@ class menuAdminController extends menu
|
|||
|
||||
// List variables
|
||||
$names = $oMenuAdminModel->getMenuItemNames($node->name, $site_srl);
|
||||
unset($name_arr_str);
|
||||
$name_arr_str = '';
|
||||
foreach($names as $key => $val)
|
||||
{
|
||||
$name_arr_str .= sprintf('"%s"=>\'%s\',', $key, str_replace(array('\\','\''), array('\\\\','\\\''), strip_tags($val)));
|
||||
$name_arr_str .= sprintf('"%s"=>"%s",', $key, str_replace(array('\\','"'), array('\\\\','"'), strip_tags($val)));
|
||||
}
|
||||
$name_str = sprintf('$_menu_names[%d] = array(%s); %s', $node->menu_item_srl, $name_arr_str, $child_output['name']);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue