diff --git a/Modules/Glossary/classes/class.ilObjGlossaryGUI.php b/Modules/Glossary/classes/class.ilObjGlossaryGUI.php index eccaa4ee4860..fa86581073ec 100755 --- a/Modules/Glossary/classes/class.ilObjGlossaryGUI.php +++ b/Modules/Glossary/classes/class.ilObjGlossaryGUI.php @@ -904,11 +904,11 @@ public function publishExportFile(): void { $files = $this->edit_request->getFiles(); if (count($files) == 0) { - $this->tpl->setOnScreenMessage('failure', $this->lng->txt("no_checkbox")); + $this->tpl->setOnScreenMessage('failure', $this->lng->txt("no_checkbox"), true); $this->ctrl->redirectByClass("ilexportgui", ""); } if (count($files) > 1) { - $this->tpl->setOnScreenMessage('failure', $this->lng->txt("cont_select_max_one_item")); + $this->tpl->setOnScreenMessage('failure', $this->lng->txt("cont_select_max_one_item"), true); $this->ctrl->redirectByClass("ilexportgui", ""); }