mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-30 15:52:17 +09:00
issue 428, when not exist, output warning messeage on layout create
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9626 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
3bbb76079e
commit
b63411093e
2 changed files with 6 additions and 3 deletions
|
|
@ -83,7 +83,9 @@
|
|||
$oLayoutModel = &getModel('layout');
|
||||
$oMenuAdminModel = &getAdminModel('menu');
|
||||
$layout_info = $oLayoutModel->getLayout($args->layout_srl);
|
||||
$menus = get_object_vars($layout_info->menu);
|
||||
if($layout_info->menu) {
|
||||
$menus = get_object_vars($layout_info->menu);
|
||||
}
|
||||
if(count($menus) ) {
|
||||
foreach($menus as $menu_id => $val) {
|
||||
$menu_srl = Context::get($menu_id);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue