[TikiWiki-commits] [Git][tikiwiki/tiki][29.x] [BP][FIX] ListExecute: email sending with custom from address

"Domeshow Emmanuel \(@Domeshow\) via TikiWiki-cvs" <[email protected]>
Newsgroups gmane.comp.cms.tiki.cvs
Message-ID <6a8e17d9b4db2_382b7dd43402b@gitlab-sidekiq-low-urgency-cpu-bound-v2-88dc97f64-rd85g.mail>

Domeshow Emmanuel pushed to branch 29.x at Tiki Wiki CMS Groupware / Tiki


Commits:
d29da051 by Domeshow Emmanuel at 2026-08-26T01:22:00+03:00
[BP][FIX] ListExecute: email sending with custom from address
---
* [BP][FIX] ListExecute: email sending with custom from address

See merge request tikiwiki/tiki!11065

- - - - -


1 changed file:

- lib/core/Search/Action/EmailAction.php


Changes:

=====================================
lib/core/Search/Action/EmailAction.php
=====================================
@@ -77,7 +77,7 @@ class Search_Action_EmailAction implements Search_Action_Action
 
             if ($from = $data->from->raw()) {
                 $fromEmail = $this->dereference($from);
-                $fromName = $this->dereferenceName($from);
+                $fromName = $this->dereferenceName($from) ?: '';
                 if (! empty($fromEmail[0])) {
                     $mail->setFrom($fromEmail[0], $fromName);
                     $mail->setSender($fromEmail[0], $fromName);



View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/d29da05165b254e29a6879c4bf05f67509e87d3c

-- 
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/d29da05165b254e29a6879c4bf05f67509e87d3c
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.