[TikiWiki-commits] [Git][tikiwiki/tiki][29.x] [BP][ENH][UX] Comments: improve empty state message when there are no comments
"UshindiG \(@GedeonTS\) via TikiWiki-cvs" <[email protected]>
| Newsgroups | gmane.comp.cms.tiki.cvs |
|---|---|
| Message-ID | <69281c73f079_2ac703f842824@gitlab-sidekiq-low-urgency-cpu-bound-v2-5df5c99858-lx6xr.mail> |
UshindiG pushed to branch 29.x at Tiki Wiki CMS Groupware / Tiki
Commits:
60d290c1 by UshindiG at 2025-11-27T11:31:58+02:00
[BP][ENH][UX] Comments: improve empty state message when there are no comments
---
* [FIX] Correctly handle References header in TikiMail class
---
* [FIX] Correctly handle References header in TikiMail class
See merge request tikiwiki/tiki!9094
(cherry picked from commit 7835d0f8d67241924976601411f8a08334490da8)
See merge request tikiwiki/tiki!9132
- - - - -
1 changed file:
- lib/webmail/tikimaillib.php
Changes:
=====================================
lib/webmail/tikimaillib.php
=====================================
@@ -133,15 +133,18 @@ class TikiMail
public function setHeader($name, $value)
{
$headers = $this->mail->getHeaders();
+ if (is_string($value)) {
+ $value = explode(',', trim($value));
+ }
switch ($name) {
case 'Message-Id':
- $headers->addIdHeader('Message-ID', trim($value));
+ $headers->addIdHeader('Message-ID', $value);
break;
case 'In-Reply-To':
- $headers->addIdHeader('In-Reply-To', trim($value));
+ $headers->addIdHeader('In-Reply-To', $value);
break;
case 'References':
- $headers->addIdHeader('References: ', trim($value));
+ $headers->addIdHeader('References', $value);
break;
default:
$headers->addTextHeader($name, $value);
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/60d290c1f5b27552cb4cf210c113ad8e668ce5e6
--
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/60d290c1f5b27552cb4cf210c113ad8e668ce5e6
You're receiving this email because of your account on gitlab.com.
_______________________________________________
TikiWiki-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tikiwiki-cvs