mirror of
https://github.com/moodle/moodle.git
synced 2025-04-13 12:32:08 +02:00
OU bug 3463 - warnings when you start an attempt in 'each attempt builds on last' mode.
This commit is contained in:
parent
83ae2001b9
commit
4f2c86ad81
@ -1131,7 +1131,8 @@ function question_process_responses(&$question, &$state, $action, $cmoptions, &$
|
||||
// Check for unchanged responses (exactly unchanged, not equivalent).
|
||||
// We also have to catch questions that the student has not yet attempted
|
||||
$sameresponses = $QTYPES[$question->qtype]->compare_responses($question, $action, $state);
|
||||
if ($state->last_graded->event == QUESTION_EVENTOPEN && question_isgradingevent($action->event)) {
|
||||
if (!empty($state->last_graded) && $state->last_graded->event == QUESTION_EVENTOPEN &&
|
||||
question_isgradingevent($action->event)) {
|
||||
$sameresponses = false;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user