Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion Modules/Test/classes/class.ilTestPlayerAbstractGUI.php
Original file line number Diff line number Diff line change
Expand Up @@ -2897,7 +2897,8 @@ protected function populateQuestionEditControl($questionGUI)
// set the initial state of the question
$state = $questionGUI->object->lookupForExistingSolutions($this->testSession->getActiveId(), $this->testSession->getPass());
$config['isAnswered'] = $state['authorized'];
$config['isAnswerChanged'] = $state['intermediate'] || $this->getAnswerChangedParameter();
$hadSaveError = isset($_GET['save_error']) && $_GET['save_error'] == 1;
$config['isAnswerChanged'] = $state['intermediate'] || $this->getAnswerChangedParameter() || $hadSaveError;

// set url to which the for should be submitted when the working time is over
// don't use asynch url because the form is submitted directly
Expand Down