summaryrefslogtreecommitdiff
path: root/program/include
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2013-08-25 09:03:01 +0200
committerAleksander Machniak <alec@alec.pl>2013-08-25 09:15:29 +0200
commit70eac89a5c17d665fa94156fd215e171906428b0 (patch)
treee01d1dd494a90ea09b41711c836f41f34b1dc339 /program/include
parenteae2a1e6845bfad92e791075ddd1a9142832d59a (diff)
Fix so additional headers are added to all messages sent (#1489284)
Conflicts: plugins/additional_message_headers/additional_message_headers.php program/lib/Roundcube/rcube.php
Diffstat (limited to 'program/include')
-rw-r--r--program/include/rcmail.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/program/include/rcmail.php b/program/include/rcmail.php
index 675a2c057..4cfaca13c 100644
--- a/program/include/rcmail.php
+++ b/program/include/rcmail.php
@@ -958,6 +958,10 @@ class rcmail extends rcube
'options' => $options,
));
+ if ($plugin['abort']) {
+ return isset($plugin['result']) ? $plugin['result'] : false;
+ }
+
$from = $plugin['from'];
$mailto = $plugin['mailto'];
$options = $plugin['options'];