issue 2503, fixed a bug. execute timeout on sitemap page, if there are so many module instance.

git-svn-id: http://xe-core.googlecode.com/svn/branches/luminous@11377 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
flyskyko 2012-09-19 07:13:52 +00:00
parent 1f211be064
commit d436cd26aa
3 changed files with 7 additions and 2 deletions

View file

@ -222,7 +222,7 @@
function _menuInfoSetting(&$menu)
{
$oModuleModel = &getModel('module');
if(!preg_match('/^http/i', $menu['url']))
if($menu['url'] && !preg_match('/^http/i', $menu['url']))
{
unset($midInfo);
unset($moduleInfo);