projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e17ebf
)
Throw an Ansel_Exception here so that it's caught as expected
author
Chuck Hagenbuch
<chuck@horde.org>
Sat, 15 Jan 2011 15:38:18 +0000
(10:38 -0500)
committer
Chuck Hagenbuch
<chuck@horde.org>
Sat, 15 Jan 2011 15:38:18 +0000
(10:38 -0500)
ansel/lib/View/Base.php
patch
|
blob
|
history
diff --git
a/ansel/lib/View/Base.php
b/ansel/lib/View/Base.php
index
5625264
..
734b3d8
100644
(file)
--- 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
InvalidArgument
Exception(_("No gallery specified"));
+ throw new
Ansel_
Exception(_("No gallery specified"));
}
// If we have a slug, use it.