[TikiWiki-commits] [Git][tikiwiki/tiki][29.x] [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 | <69fa1d5db71af_381900dc46371@gitlab-sidekiq-low-urgency-cpu-bound-v2-9f5df478c-2dskx.mail> |
Jonny Bradley pushed to branch 29.x at Tiki Wiki CMS Groupware / Tiki Commits: 6fd42fff by Jonny Bradley at 2026-05-05T16:39:55+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 (cherry picked from commit f750361a64699aad84926383bdb8be30b740a5cd) 6058fd37 [FIX] mail: Function `addTextHeader` unsurprisingly requires a text string as the value. Co-authored-by: Jonny Bradley <[email protected]> - - - - - 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/6fd42fffff7ced33607655303d9d8a57abd0a96a -- View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/6fd42fffff7ced33607655303d9d8a57abd0a96a 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