Skip to content

Commit

Permalink
Bug: 14610 Fix sending email after attch_body_check hook fails.
Browse files Browse the repository at this point in the history
Need to add the compose object to the queue if we catch this
exception since the SmartMobile view does not get the cacheid when
the compose page is "loaded" since it's not (re)generated on each
compose action.
  • Loading branch information
mrubinsk committed Apr 13, 2017
1 parent 3e095a9 commit 2d40f76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion imp/lib/Ajax/Application/Handler/Common.php
Expand Up @@ -580,7 +580,7 @@ public function sendMessage()
return $result;
} catch (IMP_Compose_Exception $e) {
$result->success = 0;

$this->_base->queue->compose($imp_compose);
if (is_null($e->tied_identity)) {
$notify_level = 'horde.error';
} else {
Expand Down

0 comments on commit 2d40f76

Please sign in to comment.