summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2005-09-07 20:45:53 +0000
committerDries Buytaert <dries@buytaert.net>2005-09-07 20:45:53 +0000
commit57a734a989b2dcc60fa14fef534d4b899e888fa5 (patch)
tree06822bb4c5b9d50c6d901fa4692e0b373a196c0c
parentbcd59aa0dd706a635e22e19781e099570799f94a (diff)
downloadbrdo-57a734a989b2dcc60fa14fef534d4b899e888fa5.tar.gz
brdo-57a734a989b2dcc60fa14fef534d4b899e888fa5.tar.bz2
- Patch #16140 by Gerhard: cure array_merge() warning due to invalide menu callback.
-rw-r--r--modules/comment.module2
-rw-r--r--modules/comment/comment.module2
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/comment.module b/modules/comment.module
index 5e3844d74..be05f3c9d 100644
--- a/modules/comment.module
+++ b/modules/comment.module
@@ -107,7 +107,7 @@ function comment_menu($may_cache) {
'type' => MENU_DEFAULT_LOCAL_TASK, 'weight' => -10);
$items[] = array('path' => 'admin/comment/list/approval', 'title' => t('approval queue'),
'callback' => 'comment_admin_overview', 'access' => $access,
- 'callback arguments' => 'approval',
+ 'callback arguments' => array('approval'),
'type' => MENU_LOCAL_TASK);
$items[] = array('path' => 'admin/comment/configure/settings', 'title' => t('settings'),
diff --git a/modules/comment/comment.module b/modules/comment/comment.module
index 5e3844d74..be05f3c9d 100644
--- a/modules/comment/comment.module
+++ b/modules/comment/comment.module
@@ -107,7 +107,7 @@ function comment_menu($may_cache) {
'type' => MENU_DEFAULT_LOCAL_TASK, 'weight' => -10);
$items[] = array('path' => 'admin/comment/list/approval', 'title' => t('approval queue'),
'callback' => 'comment_admin_overview', 'access' => $access,
- 'callback arguments' => 'approval',
+ 'callback arguments' => array('approval'),
'type' => MENU_LOCAL_TASK);
$items[] = array('path' => 'admin/comment/configure/settings', 'title' => t('settings'),