? filename.patch
? system-admin.patch
? system.admin-old.inc
Index: system.admin.inc
===================================================================
RCS file: /cvs/drupal/drupal/modules/system/system.admin.inc,v
retrieving revision 1.29
diff -u -p -r1.29 system.admin.inc
--- system.admin.inc	27 Nov 2007 17:58:26 -0000	1.29
+++ system.admin.inc	27 Nov 2007 19:23:09 -0000
@@ -91,7 +91,7 @@ function system_admin_by_module() {
 
   $modules = module_rebuild_cache();
   $menu_items = array();
-  $help_arg = drupal_help_arg();
+  $help_arg = module_exists('help') ? drupal_help_arg() : FALSE;
 
   foreach ($modules as $file) {
     $module = $file->name;
@@ -105,7 +105,7 @@ function system_admin_by_module() {
     if (count($admin_tasks)) {
 
       // Check for help links.
-      if (module_invoke($module, 'help', "admin/help#$module", $help_arg)) {
+      if ($help_arg && module_invoke($module, 'help', "admin/help#$module", $help_arg)) {
         $admin_tasks[100] = l(t('Get help'), "admin/help/$module");
       }
 
