From 62f08c5713275f893b5d6a98c245a03419c991c7 Mon Sep 17 00:00:00 2001 From: Fabian Schmid Date: Fri, 16 Jan 2026 07:28:31 +0100 Subject: [PATCH] [FIX] array access in survey question table --- Modules/Survey/Editing/class.ilSurveyQuestionTableGUI.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Modules/Survey/Editing/class.ilSurveyQuestionTableGUI.php b/Modules/Survey/Editing/class.ilSurveyQuestionTableGUI.php index 3760d62aa228..d2d7aed8dd6d 100644 --- a/Modules/Survey/Editing/class.ilSurveyQuestionTableGUI.php +++ b/Modules/Survey/Editing/class.ilSurveyQuestionTableGUI.php @@ -305,7 +305,7 @@ protected function fillRow(array $a_set): void $actions = []; - if ($a_set["url"]) { + if ($a_set["url"] ?? false) { $actions[] = $ui_factory->link()->standard( $lng->txt("edit"), $a_set["url"] @@ -342,7 +342,7 @@ protected function fillRow(array $a_set): void $this->tpl->parseCurrentBlock(); // #11186 - if ($a_set["url"]) { + if ($a_set["url"] ?? false) { $this->tpl->setCurrentBlock("title_edit"); $this->tpl->setVariable("TITLE", $a_set["title"]); $this->tpl->setVariable("URL_TITLE", $a_set["url"]);