Skip to content

Commit

Permalink
SP: fixed update after new form implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
klees committed Oct 23, 2018
1 parent cdb4a99 commit 99308e0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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")));
Expand Down

0 comments on commit 99308e0

Please sign in to comment.