From 57a734a989b2dcc60fa14fef534d4b899e888fa5 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Wed, 7 Sep 2005 20:45:53 +0000 Subject: - Patch #16140 by Gerhard: cure array_merge() warning due to invalide menu callback. --- modules/comment.module | 2 +- modules/comment/comment.module | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'modules') 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'), -- cgit v1.2.3