menu group change to array

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8589 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ovclas 2011-07-12 09:44:48 +00:00
parent edfbd84f99
commit d803e8b89d
2 changed files with 3 additions and 2 deletions

View file

@ -99,7 +99,8 @@
unset($source_args->act);
if($source_args->menu_open_window!="Y") $source_args->menu_open_window = "N";
if($source_args->menu_expand !="Y") $source_args->menu_expand = "N";
$source_args->group_srls = str_replace('|@|',',',$source_args->group_srls);
if(!is_array($source_args->group_srls)) $source_args->group_srls = str_replace('|@|',',',$source_args->group_srls);
else $source_args->group_srls = implode(',', $source_args->group_srls);
$source_args->parent_srl = (int)$source_args->parent_srl;
// Re-order variables (Column's order is different between form and DB)
$args->menu_srl = $source_args->menu_srl;