projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c2ad70a
)
Catch admin errors
author
Duck (Jakob Munih)
<duck@obala.net>
Sun, 8 Mar 2009 11:37:31 +0000
(12:37 +0100)
committer
Duck (Jakob Munih)
<duck@obala.net>
Sun, 8 Mar 2009 11:39:21 +0000
(12:39 +0100)
folks/lib/Report/letter.php
patch
|
blob
|
history
diff --git
a/folks/lib/Report/letter.php
b/folks/lib/Report/letter.php
index
ed9a21d
..
759eaeb
100644
(file)
--- a/
folks/lib/Report/letter.php
+++ b/
folks/lib/Report/letter.php
@@
-19,6
+19,9
@@
class Folks_Report_letter extends Folks_Report {
$admins = array($users);
} elseif (empty($GLOBALS['conf']['report_content']['users'])) {
$admins = $this->getAdmins();
+ if ($admins instanceof PEAR_Error) {
+ return $admins;
+ }
if (empty($admins)) {
return true;
}