mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 14:03:52 +01:00
MDL-15094 some forgotten conversions
This commit is contained in:
parent
1751f48f59
commit
eaa8ad4990
@ -2009,7 +2009,7 @@ function scorm_content_delivery_environment ($seq,$userid){
|
||||
if(!scorm_seq_is('suspended',$activity->id,$userid)){
|
||||
$r = $DB->get_record('scorm_scoes_track', array('scoid'=>$activity->id,'userid'=>$userid,'element'=>'activityattemptcount'));
|
||||
$r->value = ($r->value)+1;
|
||||
update_record ('scorm_scoes_track',$r);
|
||||
$DB->update_record ('scorm_scoes_track',$r);
|
||||
if ($r->value == 1){
|
||||
scorm_seq_set('activityprogressstatus', $activity->id, $userid, 'true');
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user