From dbeee9fe7f3c8644e1e720d7f476d00805427eb8 Mon Sep 17 00:00:00 2001 From: fbartz Date: Tue, 10 Dec 2024 11:51:21 +0100 Subject: [PATCH] attempts to fix blank page issue --- components/ILIAS/Test/classes/class.ilObjTestAccess.php | 2 +- components/ILIAS/Test/classes/class.ilObjTestListGUI.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/ILIAS/Test/classes/class.ilObjTestAccess.php b/components/ILIAS/Test/classes/class.ilObjTestAccess.php index e21b83777566..db2f13047918 100755 --- a/components/ILIAS/Test/classes/class.ilObjTestAccess.php +++ b/components/ILIAS/Test/classes/class.ilObjTestAccess.php @@ -364,7 +364,7 @@ public static function _getCommands(): array $commands = [ ["permission" => "write", "cmd" => "questionsTabGateway", "lang_var" => "tst_edit_questions"], ["permission" => "write", "cmd" => "ILIAS\Test\Settings\MainSettings\SettingsMainGUI::showForm", "lang_var" => "settings"], - ["permission" => "read", "cmd" => "testScreen", "lang_var" => "tst_run", "default" => true] + ["permission" => "read", "cmd" => "ILIAS\Test\Presentation\TestScreenGUI::testScreen", "lang_var" => "tst_run", "default" => true] ]; return $commands; diff --git a/components/ILIAS/Test/classes/class.ilObjTestListGUI.php b/components/ILIAS/Test/classes/class.ilObjTestListGUI.php index f600724421bb..6d0b3a98fb1f 100755 --- a/components/ILIAS/Test/classes/class.ilObjTestListGUI.php +++ b/components/ILIAS/Test/classes/class.ilObjTestListGUI.php @@ -141,7 +141,7 @@ public function getCommands(): array } $commands = parent::getCommands(); if ($this->access->checkAccess('read', '', $this->ref_id)) { - $this->insertCommand($this->getCommandLink('testScreen'), $this->lng->txt('tst_start_test')); + $this->insertCommand($this->getCommandLink('ILIAS\Test\Presentation\TestScreenGUI::testScreen'), $this->lng->txt('tst_start_test')); } return $commands; }