From c8e81c8c5e0972e16382b26abeb8e59fc5e3104c Mon Sep 17 00:00:00 2001 From: Alexander Killing Date: Sun, 10 Nov 2024 20:03:46 +0100 Subject: [PATCH] =?UTF-8?q?42225:=20Gesetzte=20Haken=20und=20ausgef=C3=BCl?= =?UTF-8?q?ltes=20Textfeld=20werden=20bei=20Export=20/=20Import=20nicht=20?= =?UTF-8?q?=C3=BCbernommen=20-=20Fehlermeldung?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../SurveyQuestionPool/Export/class.SurveyImportParser.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/components/ILIAS/SurveyQuestionPool/Export/class.SurveyImportParser.php b/components/ILIAS/SurveyQuestionPool/Export/class.SurveyImportParser.php index 343cfc503101..81bee25ec50b 100755 --- a/components/ILIAS/SurveyQuestionPool/Export/class.SurveyImportParser.php +++ b/components/ILIAS/SurveyQuestionPool/Export/class.SurveyImportParser.php @@ -789,7 +789,9 @@ protected function trimAndStripAttribs(array $attribs): array { $ret = []; foreach ($attribs as $k => $v) { - $ret[$k] = $this->trimAndStrip((string) $v); + $ret[$k] = ((string) $v !== "<>") + ? $this->trimAndStrip((string) $v) + : "<>"; } return $ret; }