From: Michael M Slusarz Date: Mon, 6 Apr 2009 20:45:47 +0000 (-0600) Subject: Fix error reporting. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=3b5d35c0234ada7f4513ddb814f73b9a3467ec13;p=horde.git Fix error reporting. --- diff --git a/imp/compose.php b/imp/compose.php index 158d0e8e4..8eb967f82 100644 --- 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':