From 6006e06df04de0df88d0c62bc9760c7241911acd Mon Sep 17 00:00:00 2001 From: Dan Marsden Date: Mon, 11 Jan 2010 21:04:39 +0000 Subject: [PATCH] SCORM AICC MDL-21304 typo when referring to SCORM session var in AICC files - thanks to Matteo Scaramuccia for the report and fix. --- mod/scorm/aicc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mod/scorm/aicc.php b/mod/scorm/aicc.php index 096fac55b6..b867984059 100755 --- a/mod/scorm/aicc.php +++ b/mod/scorm/aicc.php @@ -42,8 +42,8 @@ if (isset($SESSION->scorm_status)) { $status = $SESSION->scorm_status; } - if (isset($SESSION->attempt)) { - $attempt = $SESSION->attempt; + if (isset($SESSION->scorm_attempt)) { + $attempt = $SESSION->scorm_attempt; } else { $attempt = 1; } -- 2.39.5