A client of mine just upgraded to the latest snapshot of PHP 5.0.5-dev and started getting errors when array_pop() is called:

Fatal error: Only variables can be passed by reference in c:\drupal\modules\system.module on line 25

This patch fixes the problem by assigning the value to a variable before passing it to array_pop().

Thanks.

CommentFileSizeAuthor
array_pop.diff1.9 KBdanielc
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

danielc’s picture

Status: Needs review » Closed (duplicate)

This issue will be addressed by a mega-patch applied in http://drupal.org/node/26033.