MDL-18412 - fixed incorrect config var name. thanks Anthony.

This commit is contained in:
piers
2009-03-02 23:16:47 +00:00
parent 074b6db255
commit 8f54becce7
+1 -1
View File
@@ -419,7 +419,7 @@ function scorm_cron () {
}
$timenow = time();
$updatetime = usergetmidnight($timenow, $sitetimezone) + ($CFG->scorm_updatetime * 3600);
$updatetime = usergetmidnight($timenow, $sitetimezone) + ($CFG->scorm_updatetimelast * 3600);
if ($CFG->scorm_updatetimelast < $updatetime and $timenow > $updatetime) {