From 5635b7cedc90710874e1da3ddad21f4f579bbd83 Mon Sep 17 00:00:00 2001 From: Alexander Killing Date: Sun, 10 Nov 2024 20:01:53 +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/Modules/SurveyQuestionPool/Export/class.SurveyImportParser.php b/Modules/SurveyQuestionPool/Export/class.SurveyImportParser.php index f605f8c749f3..1feeff98378d 100755 --- a/Modules/SurveyQuestionPool/Export/class.SurveyImportParser.php +++ b/Modules/SurveyQuestionPool/Export/class.SurveyImportParser.php @@ -792,7 +792,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; }