From: bobopinna Date: Thu, 15 Mar 2007 21:04:01 +0000 (+0000) Subject: Fixed the problem with asset and review mode checkbox in view.php X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=552039b1aea6fd4782261747e5eb997056b3f596;p=moodle.git Fixed the problem with asset and review mode checkbox in view.php --- diff --git a/mod/scorm/datamodels/aicclib.php b/mod/scorm/datamodels/aicclib.php index 3fea46ca1b..add8d5fbf2 100644 --- a/mod/scorm/datamodels/aicclib.php +++ b/mod/scorm/datamodels/aicclib.php @@ -408,9 +408,9 @@ function scorm_get_toc($user,$scorm,$liststyle,$currentorg='',$scoid='',$mode='n if ($play && empty($scoid)) { $scoid = $sco->id; } + $incomplete = true; if ($sco->scormtype == 'sco') { $statusicon = ''.get_string('notattempted','scorm').''; - $incomplete = true; } else { $statusicon = ''.get_string('asset','scorm').''; }