We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d0df7b commit df5fec4Copy full SHA for df5fec4
system/Email/Email.php
@@ -1236,13 +1236,13 @@ protected function buildMessage()
1236
. $this->prepQuotedPrintable($this->body) . $this->newline . $this->newline
1237
. '--' . $altBoundary . '--' . $this->newline . $this->newline;
1238
1239
- if ($relBoundary !== '' && $relBoundary !== '0') {
+ if (isset($relBoundary)) {
1240
$body .= $this->newline . $this->newline;
1241
$this->appendAttachments($body, $relBoundary, 'related');
1242
}
1243
1244
// multipart/mixed attachments
1245
- if ($atcBoundary !== '' && $atcBoundary !== '0') {
+ if (isset($atcBoundary)) {
1246
1247
$this->appendAttachments($body, $atcBoundary, 'mixed');
1248
0 commit comments