From 174d107c1c6445589c88883e8400cb33f88305c7 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sun, 24 Sep 2023 14:56:45 +0000 Subject: [PATCH] rector fixes --- Theme/Backend/surveys-create.tpl.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Theme/Backend/surveys-create.tpl.php b/Theme/Backend/surveys-create.tpl.php index 1cbf432..b5ad6f5 100755 --- a/Theme/Backend/surveys-create.tpl.php +++ b/Theme/Backend/surveys-create.tpl.php @@ -102,9 +102,9 @@ echo $this->data['nav']->render(); ?> if ($element->type === SurveyElementType::HEADLINE) { echo '

' . $this->printHtml($element->getL11n()->text) . '

'; - echo !empty($element->getL11n()->description) - ? '

' . $element->getL11n()->description . '

' - : ''; + echo empty($element->getL11n()->description) + ? '' + : '

' . $element->getL11n()->description . '

'; } elseif ($element->type === SurveyElementType::CHECKBOX || $element->type === SurveyElementType::RADIO || $element->type === SurveyElementType::DROPDOWN @@ -118,9 +118,9 @@ echo $this->data['nav']->render(); ?> // Question/Text section echo '
'; echo '
' . $this->printHtml($element->getL11n()->text) . '
'; - echo !empty($element->getL11n()->description) - ? '
' . $element->getL11n()->description . '
' - : ''; + echo empty($element->getL11n()->description) + ? '' + : '
' . $element->getL11n()->description . '
'; echo '
'; // Value section