MDL-26734 fatal error on the quiz review page when reviews are not allowed.
Sorry silly error by me, merging code from my 2.1 work.
This commit is contained in:
+1
-1
@@ -40,7 +40,7 @@
|
||||
redirect($attemptobj->attempt_url(0, $page));
|
||||
} else if (!$options->responses) {
|
||||
$accessmanager->back_to_view_page($attemptobj->is_preview_user(),
|
||||
$accessmanager->cannot_review_message($attemptobj->get_attempt_state()));
|
||||
$accessmanager->cannot_review_message($options));
|
||||
}
|
||||
|
||||
} else if (!$attemptobj->is_review_allowed()) {
|
||||
|
||||
Reference in New Issue
Block a user