Skip to content

Commit df5fec4

Browse files
committed
fix: incorrect rector refactoring
1 parent 7d0df7b commit df5fec4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

system/Email/Email.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1236,13 +1236,13 @@ protected function buildMessage()
12361236
. $this->prepQuotedPrintable($this->body) . $this->newline . $this->newline
12371237
. '--' . $altBoundary . '--' . $this->newline . $this->newline;
12381238

1239-
if ($relBoundary !== '' && $relBoundary !== '0') {
1239+
if (isset($relBoundary)) {
12401240
$body .= $this->newline . $this->newline;
12411241
$this->appendAttachments($body, $relBoundary, 'related');
12421242
}
12431243

12441244
// multipart/mixed attachments
1245-
if ($atcBoundary !== '' && $atcBoundary !== '0') {
1245+
if (isset($atcBoundary)) {
12461246
$body .= $this->newline . $this->newline;
12471247
$this->appendAttachments($body, $atcBoundary, 'mixed');
12481248
}

0 commit comments

Comments
 (0)