From: Chuck Hagenbuch Date: Sat, 15 Jan 2011 15:38:18 +0000 (-0500) Subject: Throw an Ansel_Exception here so that it's caught as expected X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=c880ffccbe781a96a216b747e7802fb12bbdb84b;p=horde.git Throw an Ansel_Exception here so that it's caught as expected --- diff --git a/ansel/lib/View/Base.php b/ansel/lib/View/Base.php index 5625264c7..734b3d86f 100644 --- a/ansel/lib/View/Base.php +++ b/ansel/lib/View/Base.php @@ -135,7 +135,7 @@ abstract class Ansel_View_Base } if (empty($galleryId) && empty($slug)) { - throw new InvalidArgumentException(_("No gallery specified")); + throw new Ansel_Exception(_("No gallery specified")); } // If we have a slug, use it.