[TikiWiki-commits] [Git][tikiwiki/tiki][master] [FIX] mail: Function `addTextHeader` unsurprisingly requires a text string as the value.
"Jonny Bradley \(@jonnybradley\) via TikiWiki-cvs" <[email protected]>
| Newsgroups | gmane.comp.cms.tiki.cvs |
|---|---|
| Message-ID | <69fa14ef993b_389ad774960ca@gitlab-sidekiq-low-urgency-cpu-bound-v2-9f5df478c-knlqs.mail> |
Jonny Bradley pushed to branch master at Tiki Wiki CMS Groupware / Tiki
Commits:
f750361a by Jonny Bradley at 2026-05-05T15:45:27+00:00
[FIX] mail: Function `addTextHeader` unsurprisingly requires a text string as the value.
---
* [FIX] mail: Function `addTextHeader` unsurprisingly requires a text string as the value.
!9094 converted all header values to an array which results in fatal errors (for instance on tiki-remind_password.php, thanks @bsfez)
See merge request tikiwiki/tiki!10144
- - - - -
1 changed file:
- lib/webmail/tikimaillib.php
Changes:
=====================================
lib/webmail/tikimaillib.php
=====================================
@@ -147,7 +147,7 @@ class TikiMail
$headers->addIdHeader('References', $value);
break;
default:
- $headers->addTextHeader($name, $value);
+ $headers->addTextHeader($name, implode(',', $value));
break;
}
}
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/f750361a64699aad84926383bdb8be30b740a5cd
--
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/f750361a64699aad84926383bdb8be30b740a5cd
You're receiving this email because of your account on gitlab.com. Manage all notifications: https://gitlab.com/-/profile/notifications | Help: https://gitlab.com/help
_______________________________________________
TikiWiki-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tikiwiki-cvs