https://reisub.nsupdate.info/git
/
friendica.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
545517e
)
Fix newline email error
author
Philipp
<admin@philipp.info>
Tue, 22 Sep 2020 19:08:34 +0000
(21:08 +0200)
committer
Philipp
<admin@philipp.info>
Tue, 22 Sep 2020 19:08:36 +0000
(21:08 +0200)
src/Object/Email.php
patch
|
blob
|
history
diff --git
a/src/Object/Email.php
b/src/Object/Email.php
index
9f78763
..
008e68c
100644
(file)
--- a/
src/Object/Email.php
+++ b/
src/Object/Email.php
@@
-137,10
+137,10
@@
class Email implements IEmail
foreach ($this->additionalMailHeader as $name => $values) {
if (is_array($values)) {
foreach ($values as $value) {
- $headerString .=
$name . ': ' . $value . '\n'
;
+ $headerString .=
"$name : $value\n"
;
}
} else {
- $headerString .=
$name . ': ' . $values . '\n'
;
+ $headerString .=
"$name : $values\n"
;
}
}
return $headerString;