define the $images array before we assign to it
authorMichael J. Rubinsky <mrubinsk@horde.org>
Thu, 10 Dec 2009 19:05:54 +0000 (14:05 -0500)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Thu, 10 Dec 2009 19:05:54 +0000 (14:05 -0500)
ansel/lib/View/EmbeddedRenderer/GalleryLink.php

index ced12c2..f289c0e 100644 (file)
@@ -51,6 +51,7 @@ class Ansel_View_EmbeddedRenderer_GalleryLink extends Ansel_View_Gallery
             'thumb' :
             $this->_params['thumbsize'];
 
+        $images = array();
         foreach ($galleries as $identifier) {
             try {
                 if ($haveSlugs) {