#312290 by pwolanin: Fix "not found" logic if search module is not enabled.
authorEarl Miles
Fri, 17 Oct 2008 19:04:50 +0000 (19:04 +0000)
committerEarl Miles
Fri, 17 Oct 2008 19:04:50 +0000 (19:04 +0000)
advanced_help.module

index 157fed9..dd69f0d 100644 (file)
@@ -103,7 +103,7 @@ function advanced_help_uasort($id_a, $id_b) {
  */
 function advanced_help_search_view() {
   if (!module_exists('search')) {
-    drupal_not_found();
+    return MENU_NOT_FOUND;
   }
 
   $breadcrumb[] = advanced_help_l('Help', 'admin/advanced_help');