Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/roundcube/roundcubemail.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2022-08-14 18:37:44 +0300
committerAleksander Machniak <alec@alec.pl>2022-08-15 10:41:19 +0300
commit529f6a131f37085c5870994562fde65badb6b60b (patch)
tree2bd718378429d0cb04bf9203fc45275a77045cd4
parent2678db2f8a6011b6b9609d3d3488fff07435ebc1 (diff)
Small fix to the last commit
-rw-r--r--program/include/rcmail_sendmail.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/rcmail_sendmail.php b/program/include/rcmail_sendmail.php
index ed67f52bb..9e5c3d5f6 100644
--- a/program/include/rcmail_sendmail.php
+++ b/program/include/rcmail_sendmail.php
@@ -552,7 +552,7 @@ class rcmail_sendmail
$msg = $this->temp_files[$msg_id];
$headers = $message->txtHeaders();
}
- else {
+ else if (empty($msg)) {
$msg = $message->getMessage();
$headers = '';
}