Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
D
drupal
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Custom Issue Tracker
Custom Issue Tracker
Labels
Merge Requests
294
Merge Requests
294
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
project
drupal
Commits
306cfdf1
Commit
306cfdf1
authored
Oct 12, 2004
by
Dries
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Patch
#9292
by Gerhard: fixed another array_merge + PHP5 woe.
parent
2510f322
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
includes/menu.inc
includes/menu.inc
+1
-1
No files found.
includes/menu.inc
View file @
306cfdf1
...
...
@@ -346,7 +346,7 @@ function menu_execute_active_handler() {
$arguments
=
array_key_exists
(
'callback arguments'
,
$menu
[
'items'
][
$mid
])
?
$menu
[
'items'
][
$mid
][
'callback arguments'
]
:
array
();
$arg
=
substr
(
$_GET
[
'q'
],
strlen
(
$menu
[
'items'
][
$mid
][
'path'
])
+
1
);
if
(
strlen
(
$arg
))
{
$arguments
=
array_merge
(
$arguments
,
explode
(
'/'
,
$arg
));
$arguments
=
array_merge
(
array
(
$arguments
)
,
explode
(
'/'
,
$arg
));
}
call_user_func_array
(
$menu
[
'items'
][
$mid
][
'callback'
],
$arguments
);
return
MENU_FOUND
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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