Commit 986a476c authored by Steven Wittens's avatar Steven Wittens

Reverting the last #9292 (php 5 compatibility) patch, by request of killes. It broke stuff.

parent 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(array($arguments), explode('/', $arg));
$arguments = array_merge($arguments, explode('/', $arg));
}
call_user_func_array($menu['items'][$mid]['callback'], $arguments);
return MENU_FOUND;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment