[drupal-devel] [bug] "Only variables can be passed by reference" to
array_pop()
danielc
drupal-devel at drupal.org
Thu Jun 30 00:55:05 UTC 2005
Issue status update for http://drupal.org/node/26034
Project: Drupal
Version: 4.6.2
Component: base system
Category: bug reports
Priority: critical
Assigned to: Anonymous
Reported by: danielc
Updated by: danielc
Status: patch
Attachment: http://drupal.org/files/issues/array_pop.diff (1.9 KB)
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.
danielc
More information about the drupal-devel
mailing list