// Line 356 of file menu.inc
if (strlen($arg)) {
$arguments = array_merge($arguments, explode('/', $arg));
}

Please change to
if (strlen($arg)) {
$arguments = array();
$arguments = array_merge($arguments, explode('/', $arg));
}

This is an issue in 4.6.3 and 4.7.0 Beta 3. I am not going to report it again as a 4.6.3 issue if not asked to.

If you are running AstBill at http://astbill.com and PHP5 there is an array issue if the line
$arguments = array();
is not added.

We added this line long time ago in the drupal distributed with astbill. It have been tested a lot. The astbill project is using a more complex menu structure than must applications.

Comments

deekayen’s picture

-1. That doesn't make any sense to me. The array_merge line makes a new assignment completely over-writing whatever you set it to before. You say "This is an issue". Care to elaborate? Error messages? Ways to reproduce?

Richard Archer’s picture

Yes, please explain why is it desirable to remove $menu['callbacks'][$path]['callback arguments'] from $arguments if they are present?

robin monks’s picture

Assigned: Unassigned » robin monks
Status: Active » Closed (duplicate)