projects
/
project/ctools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
c9c5131
)
#664906 by swentel: Fix notice error when help.module is not enabled.
author
Earl Miles
Fri, 29 Jan 2010 21:23:32 +0000 (21:23 +0000)
committer
Earl Miles
Fri, 29 Jan 2010 21:23:32 +0000 (21:23 +0000)
ctools.module
patch
|
blob
|
blame
|
history
diff --git
a/ctools.module
b/ctools.module
index
e52a9cf
..
172c80a
100644
(file)
--- a/
ctools.module
+++ b/
ctools.module
@@
-254,7
+254,7
@@
function ctools_theme_registry_alter(&$registry) {
) + $registry['menu_local_tasks'];
}
- if ($registry['help']['function'] == 'theme_help') {
+ if (isset($registry['help']['function']) && $registry['help']['function'] == 'theme_help') {
$registry['help'] = array(
'function' => 'ctools_menu_help',
'path' => drupal_get_path('module', 'ctools') . '/includes',