// 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
Comment #1
deekayen commented-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?
Comment #2
Richard Archer commentedYes, please explain why is it desirable to remove $menu['callbacks'][$path]['callback arguments'] from $arguments if they are present?
Comment #3
robin monks commentedDuplicate of http://drupal.org/node/42137