Closed (fixed)
Project:
IMCE_Gallery
Version:
5.x-1.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
11 Mar 2007 at 21:46 UTC
Updated:
20 Apr 2007 at 08:01 UTC
Files are uploaded and selected to galleries... works all fine... but if i click to on a gallery link it's not working and this failure message is coming:
warning: Invalid argument supplied for foreach() in /home/httpd/vhosts/7speed.ch/httpdocs/modules/imce_gallery/imce_gallery.module on line 376.
Comments
Comment #1
skives commentedI get the exact same error on the same line.
Comment #2
aerobase007 commentedThis bug can be fixed by following steps:
to
$gallery_info->gallery_items_pic[] = $row->g_file_name;
to
$output .= theme('gallery_items', $g_info->gallery_items_pic, $g_folder);
Comment #3
(not verified) commented