From 1d6fc6dd695afdc09084ca5ca01ec7b30eb39147 Mon Sep 17 00:00:00 2001 From: Fabian Wolf Date: Mon, 15 Apr 2024 15:21:34 +0200 Subject: [PATCH] Fix wrong on screen message color --- Services/Tree/classes/SystemCheck/class.ilSCTreeTasksGUI.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Services/Tree/classes/SystemCheck/class.ilSCTreeTasksGUI.php b/Services/Tree/classes/SystemCheck/class.ilSCTreeTasksGUI.php index bab1ad6d7b93..5695ebac668d 100644 --- a/Services/Tree/classes/SystemCheck/class.ilSCTreeTasksGUI.php +++ b/Services/Tree/classes/SystemCheck/class.ilSCTreeTasksGUI.php @@ -252,7 +252,7 @@ public function listTree(): void $this->tpl->setOnScreenMessage('failure', $this->getLang()->txt('sysc_tree_list_failures') . ' ' . $errors_count, true); } else { $this->getTask()->setStatus(ilSCTask::STATUS_COMPLETED); - $this->tpl->setOnScreenMessage('failure', $this->getLang()->txt('sysc_message_success'), true); + $this->tpl->setOnScreenMessage('success', $this->getLang()->txt('sysc_message_success'), true); } $this->getTask()->setLastUpdate(new ilDateTime(time(), IL_CAL_UNIX));