fix parse error
authorChuck Hagenbuch <chuck@horde.org>
Mon, 10 Aug 2009 04:13:14 +0000 (00:13 -0400)
committerChuck Hagenbuch <chuck@horde.org>
Mon, 10 Aug 2009 04:13:14 +0000 (00:13 -0400)
ansel/lib/View/GalleryRenderer/GalleryLightbox.php

index 87a532e..b482ff2 100644 (file)
@@ -51,10 +51,10 @@ class Ansel_View_GalleryRenderer_GalleryLightbox extends Ansel_View_GalleryRende
         /* Get JSON data for view */
         // 0 == normal, 1 == by date
         if ($this->mode == 0) {
-            $json = $this->view->json(array('full' => !empty($this->view->api));
+            $json = $this->view->json(array('full' => !empty($this->view->api)));
         } else {
             if (!empty($this->date['day']) && $this->numTiles) {
-                $json = $this->view->json(array('full' => !empty($this->view->api));
+                $json = $this->view->json(array('full' => !empty($this->view->api)));
             } else {
                 $json = '[]';
             }