From 8f54becce72700602bfdb0f978d76dfd1e757216 Mon Sep 17 00:00:00 2001 From: piers Date: Mon, 2 Mar 2009 23:16:47 +0000 Subject: [PATCH] MDL-18412 - fixed incorrect config var name. thanks Anthony. --- mod/scorm/lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/scorm/lib.php b/mod/scorm/lib.php index 02587b07ec..04bd1f3869 100755 --- a/mod/scorm/lib.php +++ b/mod/scorm/lib.php @@ -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) { -- 2.39.5