From 99308e0777b729c458006e1088eba21adebfe5d9 Mon Sep 17 00:00:00 2001 From: Richard Klees Date: Tue, 23 Oct 2018 13:55:57 +0200 Subject: [PATCH] SP: fixed update after new form implementation --- .../classes/class.ilObjStudyProgrammeSettingsGUI.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/StudyProgramme/classes/class.ilObjStudyProgrammeSettingsGUI.php b/Modules/StudyProgramme/classes/class.ilObjStudyProgrammeSettingsGUI.php index 9c87fffae09a..6452640b1f71 100644 --- a/Modules/StudyProgramme/classes/class.ilObjStudyProgrammeSettingsGUI.php +++ b/Modules/StudyProgramme/classes/class.ilObjStudyProgrammeSettingsGUI.php @@ -166,7 +166,7 @@ protected function update() { // This could further improved by providing a new container for asynch-forms in the // UI-Framework. $update_possible = !is_null($content); - if (!$update_possible) { + if ($update_possible) { $this->updateWith($prg, $content); ilUtil::sendSuccess($this->lng->txt("msg_obj_modified"),true); $response = ilAsyncOutputHandler::encodeAsyncResponse(array("success"=>true, "message"=>$this->lng->txt("msg_obj_modified")));