SCORM MDL-27366 - show content if attemptstatus is set even if closed.
This commit is contained in:
+1
-1
@@ -1036,7 +1036,7 @@ function scorm_print_overview($courses, &$htmlarray) {
|
||||
if ($scorm->timeopen) {
|
||||
$isopen = ($scorm->timeopen <= $time && $time <= $scorm->timeclose);
|
||||
}
|
||||
if (empty($isopen) || empty($scorm->timeclose)) {
|
||||
if (empty($scorm->displayattemptstatus) && (empty($isopen) || empty($scorm->timeclose))) {
|
||||
unset($scorms[$key]);
|
||||
}else{
|
||||
$scormids[] = $scorm->id;
|
||||
|
||||
Reference in New Issue
Block a user