projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
677127f
)
Fix error reporting.
author
Michael M Slusarz
<slusarz@curecanti.org>
Mon, 6 Apr 2009 20:45:47 +0000
(14:45 -0600)
committer
Michael M Slusarz
<slusarz@curecanti.org>
Mon, 6 Apr 2009 22:30:35 +0000
(16:30 -0600)
imp/compose.php
patch
|
blob
|
history
diff --git
a/imp/compose.php
b/imp/compose.php
index
158d0e8
..
8eb967f
100644
(file)
--- a/
imp/compose.php
+++ b/
imp/compose.php
@@
-437,7
+437,8
@@
case 'send_message':
} catch (IMP_Compose_Exception $e) {
$get_sig = false;
$code = $e->getCode();
- $notification->push($e, strpos($code, 'horde.') === 0 ? $code : 'horde.error');
+ $notification->push($e->getMessage(), strpos($code, 'horde.') === 0 ? $code : 'horde.error');
+
// TODO
switch ($e->encrypt) {
case 'pgp_symmetric_passphrase_dialog':