From fc451b2940240057ecec907a83f0103ea33fc3e2 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Tue, 11 Jul 2017 11:43:53 +0200 Subject: [PATCH] W.I.P. SMIME: - Fix failure message on send have no details --- mail/inc/class.mail_compose.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mail/inc/class.mail_compose.inc.php b/mail/inc/class.mail_compose.inc.php index 2467bc0d88..7c6617ed07 100644 --- a/mail/inc/class.mail_compose.inc.php +++ b/mail/inc/class.mail_compose.inc.php @@ -3016,7 +3016,7 @@ class mail_compose catch (Exception $ex) { $response = Api\Json\Response::get(); - $response->call('egw.message', $ex->getMessage()); + $this->errorInfo = $ex->getMessage(); return false; } } @@ -3635,7 +3635,7 @@ class mail_compose * @param array|string $recipients list of recipients * @param string $sender email of sender * @param string $passphrase = '', SMIME Private key passphrase - * + * * @return boolean returns true if successful and false if passphrase required * @throws Api\Exception\WrongUserinput if no certificate found */