#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:
misol 2012-04-20 02:02:03 +00:00
parent 704d372857
commit 5406eac448

View file

@ -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();