Closed (fixed)
Project:
shazamgallery
Version:
master
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 May 2006 at 05:35 UTC
Updated:
16 May 2006 at 15:31 UTC
warning: Invalid argument supplied for foreach() in C:\wamp\www\drupal47\modules\contrib\shazamgallery\shazamgallery.module on line 205.
Using wamp and drupal 4.7
Comments
Comment #1
Bèr Kessels commentedwithout looking at the code. I suspect that this happens when there are no galleries yet. Is that corect? Did the message dissapear once you had posted your first gallery-node?
Comment #2
morphir commentedI checked, but I'am afraid the error message is still there. However its only there when I'am making or editing a gallery-node.
And the weird thing is, that I cant seem to get what is wrong on the page. Everything seems to work smooth.
The code for line 205 is:
foreach (shazamgallery_get_galleries() as $gallery) {
$options[$gallery->nid] = $gallery->title;
}
Comment #3
Bèr Kessels commentedFixed in CVS. Thanks for the report.
Comment #4
(not verified) commented