From bbb41bb17b5f9b2d301454910ea1cbc504f66ea7 Mon Sep 17 00:00:00 2001 From: "Michael J. Rubinsky" Date: Sat, 11 Dec 2010 18:40:39 -0500 Subject: [PATCH] fix object name --- ansel/lib/Block/gallery.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansel/lib/Block/gallery.php b/ansel/lib/Block/gallery.php index 8d44e2a1d..ebf6bc689 100644 --- a/ansel/lib/Block/gallery.php +++ b/ansel/lib/Block/gallery.php @@ -96,7 +96,7 @@ class Horde_Block_ansel_gallery extends Horde_Block try { $gallery = $this->_getGallery(); } catch (Horde_Exception $e) { - return $gallery->getMessage(); + return $e->getMessage(); } $params = array('gallery_id' => $gallery->id, -- 2.11.0