MDL-29745 Fixed white space

This commit is contained in:
Sam Hemelryk 2012-03-13 16:36:37 +13:00
parent a28c6b40fe
commit c8c00cee80

View File

@ -95,7 +95,7 @@ if(!$nostudents) {
$from = 'FROM {scorm_scoes_track} st ';
$where = ' WHERE st.userid ' .$usql. ' and st.scoid = ?';
$attempts = $DB->get_records_sql($select.$from.$where, $params);
foreach ($attempts as $attempt) {
if ($trackdata = scorm_get_tracks($scoid, $attempt->userid, $attempt->attempt)) {
if (isset($trackdata->$scorekey)) {