This patch simply removes an unneeded & attached to the $form_state variable being passed to the imagefield_widget_process.

Comments

jody lynn’s picture

Title: Patch: Fixes - PHP Warning: Call-time pass-by-reference has been deprecated » PHP 5.3 compatibility
StatusFileSize
new1.1 KB

I had to additionally remove one more ampersand in a function declaration to get this to work on php 5.3. This patch has both fixes.

mattcasey’s picture

Thanks for this!

pfrenssen’s picture

Status: Needs review » Fixed

This was already fixed, but the code was mistakenly committed to the master branch instead of the 6.x-1.x branch. See commit 86e43f83d7.

The second ampersand removal that is proposed in comment #1 is covered in #759492: Widget does not show up.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.