projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bfea117
)
Catch exception is user is not authenticated at IMP yet.
author
Jan Schneider
<jan@horde.org>
Fri, 11 Dec 2009 15:26:50 +0000
(16:26 +0100)
committer
Jan Schneider
<jan@horde.org>
Fri, 11 Dec 2009 15:26:50 +0000
(16:26 +0100)
turba/lib/Turba.php
patch
|
blob
|
history
diff --git
a/turba/lib/Turba.php
b/turba/lib/Turba.php
index
c64eadf
..
7443fab
100644
(file)
--- a/
turba/lib/Turba.php
+++ b/
turba/lib/Turba.php
@@
-20,7
+20,11
@@
class Turba {
static $batchCompose;
if (!isset($batchCompose)) {
- $batchCompose = $registry->hasMethod('mail/batchCompose');
+ try {
+ $batchCompose = $registry->hasMethod('mail/batchCompose');
+ } catch (Horde_Exception $e) {
+ $batchCompose = false;
+ }
}
$array = is_array($data);