From: Michael J. Rubinsky Date: Sat, 11 Dec 2010 23:40:39 +0000 (-0500) Subject: fix object name X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=bbb41bb17b5f9b2d301454910ea1cbc504f66ea7;p=horde.git fix object name --- 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,