Skip to content

Commit

Permalink
SCORM MDL-24273 fix typo in SCORM 2004 code
Browse files Browse the repository at this point in the history
  • Loading branch information
danmarsden committed Nov 16, 2010
1 parent 5c58d55 commit 2004f2e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mod/scorm/datamodels/sequencinglib.php
Original file line number Diff line number Diff line change
Expand Up @@ -1995,7 +1995,7 @@ function scorm_content_delivery_environment ($seq,$userid){
}
$track = $DB->get_record('scorm_scoes_track', array('scoid'=>$act->id,'userid'=>$userid,'element'=>'suspendedactivity'));
if ($track != null){
$seq = scorm_clear_suspended_activity($seq->delivery, $seq);
$seq = scorm_clear_suspended_activity($seq->delivery, $seq, $userid);

}
$seq = scorm_terminate_descendent_attempts ($seq->delivery,$userid,$seq);
Expand Down Expand Up @@ -2041,7 +2041,7 @@ function scorm_content_delivery_environment ($seq,$userid){


}
function scorm_clear_suspended_activity($act,$seq){
function scorm_clear_suspended_activity($act,$seq, $userid){
global $DB;
$currentact= $seq->currentactivity;
$track = $DB->get_record('scorm_scoes_track', array('scoid'=>$currentact->id,'userid'=>$userid,'element'=>'suspendedactivity')); // TODO: undefined
Expand Down

0 comments on commit 2004f2e

Please sign in to comment.