Index: branches/unlabeled/unlabeled-1.26.2/admin/include/sections.php =================================================================== diff -u -r6436 -r6838 --- branches/unlabeled/unlabeled-1.26.2/admin/include/sections.php (.../sections.php) (revision 6436) +++ branches/unlabeled/unlabeled-1.26.2/admin/include/sections.php (.../sections.php) (revision 6838) @@ -664,12 +664,10 @@ */ $m = GetModuleArray("admin"); -if(is_array($m)) -{ - foreach($m as $key=>$value) - { +if (is_array($m)) { + foreach ($m as $key => $value) { $mod = $pathtoroot . $value . "admin/include/navmenu.php"; - include_once($mod); + if (file_exists($mod)) include_once($mod); } } $objSections->AddSection("default","","",$admin."/","#",NULL,NULL,NULL,NULL,NULL,NULL);