From: piers Date: Thu, 24 Jul 2008 23:53:56 +0000 (+0000) Subject: MDL-11137 Unable to locate API error - fix typo on var name - thank dan. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=d4e9550a4f3ecc9790730ff0e96afb183cd930b3;p=moodle.git MDL-11137 Unable to locate API error - fix typo on var name - thank dan. --- diff --git a/mod/scorm/locallib.php b/mod/scorm/locallib.php index f28e28ab7c..4bd4c3f969 100755 --- a/mod/scorm/locallib.php +++ b/mod/scorm/locallib.php @@ -279,7 +279,7 @@ function scorm_get_tracks($scoid,$userid,$attempt='') { $usertrack->timemodified = $track->timemodified; } } - ksort($userdata); + ksort($usertrack); return $usertrack; } else { return false;