- Patch #16140 by Gerhard: cure array_merge() warning due to invalide menu callback.

4.7.x
Dries Buytaert 2005-09-07 20:45:53 +00:00
parent bcd59aa0dd
commit 57a734a989
2 changed files with 2 additions and 2 deletions

View File

@ -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'),

View File

@ -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'),