Installed Drupal4.7RC. Installed CVS version of Image Module, 4.7 view module & shazamgallery 4.7. When I go to create an image I get this error message:
Invalid argument supplied for foreach() in /home/mysite/public_html/drupal/modules/shazamgallery/shazamgallery.module on line 205.
The code for line 205-207 is the folowing.
foreach (shazamgallery_get_galleries() as $gallery) {
$options[$gallery->nid] = $gallery->title;
}
Comments
Comment #1
Bèr Kessels commentedWe must cehck the existance of any galleries before we call these into the foreach.
Comment #2
stephenhendry commented