From 7e8e971c4801c6d393f7c82a6fd0801e9973d491 Mon Sep 17 00:00:00 2001 From: Stephan Kergomard Date: Fri, 3 Jan 2025 18:27:16 +0200 Subject: [PATCH] Test: Fix Crash in LOC See: https://mantis.ilias.de/view.php?id=43342 --- .../ILIAS/Test/classes/class.ilTestPlayerAbstractGUI.php | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/components/ILIAS/Test/classes/class.ilTestPlayerAbstractGUI.php b/components/ILIAS/Test/classes/class.ilTestPlayerAbstractGUI.php index cfd440e5bcaf..743104204aad 100755 --- a/components/ILIAS/Test/classes/class.ilTestPlayerAbstractGUI.php +++ b/components/ILIAS/Test/classes/class.ilTestPlayerAbstractGUI.php @@ -2439,14 +2439,7 @@ protected function cancelAnswerOptionalQuestionsCmd() */ protected function populateHelperGuiContent($helperGui) { - if ($this->object->getKioskMode()) { - //$this->tpl->setBodyClass("kiosk"); - $this->tpl->hideFooter(); - $this->tpl->addBlockfile('CONTENT', 'adm_content', "tpl.il_as_tst_kiosk_mode_content.html", "components/ILIAS/Test"); - $this->tpl->setContent($this->ctrl->getHTML($helperGui)); - } else { - $this->tpl->setVariable($this->getContentBlockName(), $this->ctrl->getHTML($helperGui)); - } + $this->tpl->setVariable($this->getContentBlockName(), $this->ctrl->getHTML($helperGui)); } protected function getTestNavigationToolbarGUI(): ilTestNavigationToolbarGUI