The function prog_gallery_sortByFunc (file prog_gallery.module, line 1540) is not compatible with PHP4 as it use foreach command with references.

Can this be fixed o PROG Gallery require PHP5 to work?

Comments

Jānis Bebrītis’s picture

I hope, it will work with PHP4 now:

I modified code, so that prog_gallery_sortByFunc() can be replaced with array_multisort() which is supported in PHP4 and PHP5. I implemented this into Drupal 5 dev version also and uploaded changes into CVS.

New dev release tarball will be available tomorrow, please test whether it works for You now!

Jānis Bebrītis’s picture

Status: Active » Postponed (maintainer needs more info)
mrodriguezsulime’s picture

Status: Postponed (maintainer needs more info) » Fixed

Thank you, it works for me.

Status: Fixed » Closed (fixed)

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