From c4bcb083c6e7fdde0516e653e2e0ce5f606a3a42 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 15 Apr 2025 22:55:21 +0200 Subject: [PATCH] Fix CI --- htdocs/adherents/card.php | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/htdocs/adherents/card.php b/htdocs/adherents/card.php index c5aa28466f8..e19215ee72a 100644 --- a/htdocs/adherents/card.php +++ b/htdocs/adherents/card.php @@ -763,8 +763,8 @@ if (empty($reshook)) { } if (!empty($labeltouse) && is_object($arraydefaultmessage) && $arraydefaultmessage->id > 0) { - $subject = $arraydefaultmessage->topic; - $msg = $arraydefaultmessage->content; + $subject = (string) $arraydefaultmessage->topic; + $msg = (string) $arraydefaultmessage->content; } if (empty($labeltouse) || (int) $labeltouse === -1) { @@ -830,8 +830,8 @@ if (empty($reshook)) { } if (!empty($labeltouse) && is_object($arraydefaultmessage) && $arraydefaultmessage->id > 0) { - $subject = $arraydefaultmessage->topic; - $msg = $arraydefaultmessage->content; + $subject = (string) $arraydefaultmessage->topic; + $msg = (string) $arraydefaultmessage->content; } if (empty($labeltouse) || (int) $labeltouse === -1) { @@ -1615,8 +1615,8 @@ if (is_object($objcanvas) && $objcanvas->displayCanvasExists($action)) { } if (!empty($labeltouse) && is_object($arraydefaultmessage) && $arraydefaultmessage->id > 0) { - $subject = $arraydefaultmessage->topic; - $msg = $arraydefaultmessage->content; + $subject = (string) $arraydefaultmessage->topic; + $msg = (string) $arraydefaultmessage->content; } $substitutionarray = getCommonSubstitutionArray($outputlangs, 0, null, $object); @@ -1679,8 +1679,8 @@ if (is_object($objcanvas) && $objcanvas->displayCanvasExists($action)) { } if (!empty($labeltouse) && is_object($arraydefaultmessage) && $arraydefaultmessage->id > 0) { - $subject = $arraydefaultmessage->topic; - $msg = $arraydefaultmessage->content; + $subject = (string) $arraydefaultmessage->topic; + $msg = (string) $arraydefaultmessage->content; } $substitutionarray = getCommonSubstitutionArray($outputlangs, 0, null, $object); @@ -1740,8 +1740,8 @@ if (is_object($objcanvas) && $objcanvas->displayCanvasExists($action)) { } if (!empty($labeltouse) && is_object($arraydefaultmessage) && $arraydefaultmessage->id > 0) { - $subject = $arraydefaultmessage->topic; - $msg = $arraydefaultmessage->content; + $subject = (string) $arraydefaultmessage->topic; + $msg = (string) $arraydefaultmessage->content; } $substitutionarray = getCommonSubstitutionArray($outputlangs, 0, null, $object);