Skip to content

Commit

Permalink
MDL-33755: SCORM fix spacing/coding guidelines
Browse files Browse the repository at this point in the history
danmarsden committed Sep 12, 2012
1 parent 812bdae commit 29b2445
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mod/scorm/locallib.php
Original file line number Diff line number Diff line change
@@ -445,7 +445,7 @@ function scorm_insert_track($userid, $scormid, $scoid, $attempt, $element, $valu
*/
function scorm_has_tracks($scormid, $userid) {
global $DB;
return $DB->record_exists('scorm_scoes_track', array('userid'=>$userid, 'scormid'=>$scormid));
return $DB->record_exists('scorm_scoes_track', array('userid' => $userid, 'scormid' => $scormid));
}

function scorm_get_tracks($scoid, $userid, $attempt='') {

0 comments on commit 29b2445

Please sign in to comment.