[drupal-devel] [bug] Menu.inc error when running on php5
Uwe Hermann
drupal-devel at drupal.org
Sun Aug 21 19:32:18 UTC 2005
Issue status update for
http://drupal.org/node/27582
Post a follow up:
http://drupal.org/project/comments/add/27582
Project: Drupal
Version: 4.6.2
Component: base system
Category: bug reports
Priority: normal
Assigned to: Anonymous
Reported by: iraszl
Updated by: Uwe Hermann
-Status: active
+Status: patch (code needs review)
Attachment: http://drupal.org/files/issues/menu_19.patch (732 bytes)
Here's a patch (untested).
Uwe Hermann
Previous comments:
------------------------------------------------------------------------
Wed, 27 Jul 2005 10:05:24 +0000 : iraszl
In *menu.inc*, function menu_execute_active_handler() I changed:
if (strlen($arg)) {
To:
if (strlen($arg) && is_array($arguments)) {
That did the trick to get rid of the annoying error messages in the
log.
------------------------------------------------------------------------
Sun, 07 Aug 2005 01:32:39 +0000 : killes at www.drop.org
not a patch
More information about the drupal-devel
mailing list