From 0e5bece5b644effa406b778f7dd01f9461d7532d Mon Sep 17 00:00:00 2001 From: Anne-Catherine <57360138+accognet@users.noreply.github.com> Date: Tue, 8 Jul 2025 11:16:11 +0200 Subject: [PATCH] =?UTF-8?q?N=C2=B08347=20-=20Bad=20display=20of=20special?= =?UTF-8?q?=20characters=20on=20the=20portal=20CheckToWrite=20message=20(#?= =?UTF-8?q?712)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/exceptions/CoreCannotSaveObjectException.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/application/exceptions/CoreCannotSaveObjectException.php b/application/exceptions/CoreCannotSaveObjectException.php index 61c6dd6d5..14adb2a74 100644 --- a/application/exceptions/CoreCannotSaveObjectException.php +++ b/application/exceptions/CoreCannotSaveObjectException.php @@ -63,14 +63,14 @@ class CoreCannotSaveObjectException extends CoreException public function getTextMessage() { $sTitle = Dict::S('UI:Error:SaveFailed'); - $sContent = utils::HtmlEntities($sTitle); + $sContent = $sTitle; if (count($this->aIssues) == 1) { $sIssue = reset($this->aIssues); - $sContent .= utils::HtmlEntities($sIssue); + $sContent .= $sIssue; } else { foreach ($this->aIssues as $sError) { - $sContent .= " ".utils::HtmlEntities($sError).", "; + $sContent .= " " . $sError . ", "; } }