From d94b2ba2dc4af244d38098a7b07b3fb95ea9a03d Mon Sep 17 00:00:00 2001 From: Dan Marsden Date: Wed, 13 Jan 2010 01:40:34 +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. merged from HEAD --- 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 eca5daceb0d..86bf92a83b2 100755 --- a/mod/scorm/aicc.php +++ b/mod/scorm/aicc.php @@ -36,8 +36,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; }