Hi everyone,
Here is what I got when I try to modify my node : " warning: array_push() [function.array-push]: First argument should be an array in (...)/sites/all/modules/image_fupload/includes/images.previewlist.imagefield.inc on line 23."
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | image_FUpload.patch | 906 bytes | vomitHatSteve |
Comments
Comment #1
iaminawe commentedI get this too
Comment #2
vomitHatSteve commentedHmmm... It looks like this module is no longer maintained. (Considering the last development snapshot was 6 months ago!)
I've attached a patch, but I don't use CVS and don't know the patching process. (So caveat emptor or however you spell that).
Long story short, the foreach loop around that line is grabbing array values and calling them $key instead of grabbing the $key and $value.
I also threw in a sanity check to not bother trying to push the value onto the array if the key is empty.