issue 160 empty sitemap list, waring message showed

this bug fixed


git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9412 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ovclas 2011-09-28 10:57:32 +00:00
parent bea057c214
commit 775234cb23
2 changed files with 4 additions and 2 deletions

View file

@ -119,7 +119,8 @@
function dispMenuAdminSiteMap()
{
$oMenuAdminModel = &getAdminModel('menu');
$output = array_reverse($oMenuAdminModel->getMenus());
$menuListFromDB = $oMenuAdminModel->getMenus();
if(is_array($menuListFromDB)) $output = array_reverse($menuListFromDB);
$menuList = array();
if(is_array($output))