[svn r12965] Now using an additional parameter in the call to learnpath::start_current_item() to trigger a possibly new attempt (this is the only code authorized to do this)

skala
Yannick Warnier 18 years ago
parent 5d71d0d77a
commit 1af3cfc52f
  1. 2
      main/newscorm/lp_comm.server.php

@ -236,7 +236,7 @@ function switch_item_details($lp_id,$user_id,$view_id,$current_item,$next_item)
if($debug>1){error_log('In {default} - next item is '.$new_item_id.'(current: '.$current_item.')',0);}
break;
}
$mylp->start_current_item();
$mylp->start_current_item(true);
if($mylp->force_commit){
$mylp->save_current();
}

Loading…
Cancel
Save