Skip to content

Commit

Permalink
Fixed issue #17285: "Resume later" not working after "Load unfinished…
Browse files Browse the repository at this point in the history
… survey" (#1995)

Co-authored-by: encuestabizdevgit <devgit@encuesta.biz>
  • Loading branch information
gabrieljenik and encuestabizdevgit committed Aug 9, 2021
1 parent beb3cf1 commit a7eef17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/helpers/expressions/em_manager_helper.php
Expand Up @@ -5208,7 +5208,7 @@ private function _UpdateValuesInDatabase($finished = false)
$savedControl->delete();
}
} elseif ($this->surveyOptions['allowsave'] && isset($_SESSION[$this->sessid]['scid'])) {
SavedControl::model()->updateByPk($_SESSION[$this->sessid]['scid'], ['saved_thisstep' => $thisstep]);
SavedControl::model()->updateByPk($_SESSION[$this->sessid]['scid'], ['saved_thisstep' => $_SESSION[$this->sessid]['step']]);
}
// Check Quotas
$aQuotas = checkCompletedQuota($this->sid, true);
Expand Down

0 comments on commit a7eef17

Please sign in to comment.