From 1441b8a1d2567589e5609915e495c686ce241816 Mon Sep 17 00:00:00 2001 From: Molkobain Date: Tue, 23 Aug 2022 10:01:51 +0200 Subject: [PATCH] =?UTF-8?q?N=C2=B05318=20-=20Fix=20bad=20merge=20of=20the?= =?UTF-8?q?=20coreexception.class.inc.php=20file?= 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 d7e4235d9..dcbe20ff5 100644 --- a/application/exceptions/CoreCannotSaveObjectException.php +++ b/application/exceptions/CoreCannotSaveObjectException.php @@ -44,15 +44,15 @@ class CoreCannotSaveObjectException extends CoreException public function getHtmlMessage() { $sTitle = Dict::S('UI:Error:SaveFailed'); - $sContent = "{$sTitle}"; + $sContent = "".utils::HtmlEntities($sTitle).""; if (count($this->aIssues) == 1) { $sIssue = reset($this->aIssues); - $sContent .= " {$sIssue}"; + $sContent .= " ".utils::HtmlEntities($sIssue).""; } else { $sContent .= ''; }