- Patch #16140 by Gerhard: cure array_merge() warning due to invalide menu callback.
parent
bcd59aa0dd
commit
57a734a989
|
@ -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'),
|
||||
|
|
|
@ -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'),
|
||||
|
|
Loading…
Reference in New Issue