mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-24 05:39:58 +09:00
#1765 fixed. when add admin menu, there was a warning when, there is no menu settings return value. (blank array was returned)
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10576 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
704d372857
commit
5406eac448
1 changed files with 1 additions and 0 deletions
|
|
@ -98,6 +98,7 @@
|
|||
$args->menu_item_srl = $menu_item_srl;
|
||||
$output = executeQuery('menu.getMenuItem', $args);
|
||||
$node = $output->data;
|
||||
settype($node,'object');
|
||||
if($node->group_srls) $node->group_srls = explode(',',$node->group_srls);
|
||||
else $node->group_srls = array();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue