[drupal-devel] [bug] "Only variables can be passed by reference" to array_pop()
30 Jun
2005
30 Jun
'05
2:55 a.m.
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
7661
Age (days ago)
7661
Last active (days ago)
0 comments
1 participants
participants (1)
-
danielc