[drupal-devel] [bug] array-merge() error thrown (issue when rolling back node revisions)

Dries drupal-devel at drupal.org
Sat Jul 2 12:27:31 UTC 2005


Issue status update for http://drupal.org/node/16140

 Project:      Drupal
 Version:      cvs
 Component:    menu system
 Category:     bug reports
 Priority:     normal
 Assigned to:  Anonymous
 Reported by:  lyk0s at drupal.org
 Updated by:   Dries
 Status:       patch

I think we can avoid having to do the array_merge() in this case.  Would
be nice if you could a slightly cleaner solution.  It might be possible.




Dries



Previous comments:
------------------------------------------------------------------------

January 25, 2005 - 05:25 : lyk0s at drupal.org

warning: array_merge() [function.array-merge]: Argument #1 is not an
array in /Web/cybertrib.com/..../includes/menu.inc on line 349.


(I am using PHP 5 :)




------------------------------------------------------------------------

June 30, 2005 - 15:43 : townxelliot

Attachment: http://drupal.org/files/issues/menu.inc_2.patch (596 bytes)

As far as I can tell, this bug is still not fixed in the latest (as of
today) CVS version. I've attached a patch for it (diff -Nur, as I
couldn't work out what the preferred patch format for Drupal is). I
found the error occurred when running under PHP 5 and attempting to
rollback to a previous revision of a node.







More information about the drupal-devel mailing list