projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
11383e4
)
MFB: Catch error.
author
Jan Schneider
<jan@horde.org>
Thu, 18 Jun 2009 17:33:46 +0000
(19:33 +0200)
committer
Jan Schneider
<jan@horde.org>
Fri, 19 Jun 2009 15:40:56 +0000
(17:40 +0200)
kronolith/lib/Block/month.php
patch
|
blob
|
history
diff --git
a/kronolith/lib/Block/month.php
b/kronolith/lib/Block/month.php
index
0ec9da3
..
90024e1
100644
(file)
--- a/
kronolith/lib/Block/month.php
+++ b/
kronolith/lib/Block/month.php
@@
-75,6
+75,9
@@
class Horde_Block_Kronolith_month extends Horde_Block {
if (is_a($this->_share, 'PEAR_Error')) {
return _(sprintf("There was an error accessing the calendar: %s", $this->_share->getMessage()));
}
+ if (is_a($this->_share, 'PEAR_Error')) {
+ return $this->_share;
+ }
if (!$this->_share->hasPermission(Auth::getAuth(), PERMS_SHOW)) {
return _("Permission Denied");
}