projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b7215a
)
catch errors
author
Chuck Hagenbuch
<chuck@horde.org>
Mon, 10 Aug 2009 04:10:01 +0000
(
00:10
-0400)
committer
Chuck Hagenbuch
<chuck@horde.org>
Mon, 10 Aug 2009 04:10:01 +0000
(
00:10
-0400)
ansel/lib/View/Gallery.php
patch
|
blob
|
history
diff --git
a/ansel/lib/View/Gallery.php
b/ansel/lib/View/Gallery.php
index
0b0ef84
..
c798af8
100644
(file)
--- a/
ansel/lib/View/Gallery.php
+++ b/
ansel/lib/View/Gallery.php
@@
-81,6
+81,9
@@
class Ansel_View_Gallery extends Ansel_View_Base
} else {
$this->gallery = $this->getGallery();
}
+ if (is_a($this->gallery, 'PEAR_Error')) {
+ throw new Horde_Exception($this->gallery);
+ }
// Check user age
if (!$this->gallery->isOldEnough()) {