Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
57a734a9
Commit
57a734a9
authored
Sep 07, 2005
by
Dries Buytaert
Browse files
- Patch
#16140
by Gerhard: cure array_merge() warning due to invalide menu callback.
parent
bcd59aa0
Changes
2
Hide whitespace changes
Inline
Side-by-side
modules/comment.module
View file @
57a734a9
...
...
@@ -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'
),
...
...
modules/comment/comment.module
View file @
57a734a9
...
...
@@ -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'
),
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment