Avoid resetting variables if in a simple 'continue' view - for elearningla #scorm

skala
Yannick Warnier 13 years ago
parent 9cb1fab3ac
commit 27236217a2
  1. 6
      main/newscorm/learnpathItem.class.php

@ -1672,11 +1672,11 @@ class learnpathItem {
} else {
// Restart current element is allowed (because it's not finished yet),
// reinit current.
$this->current_score = 0;
//$this->current_score = 0;
$this->current_start_time = 0;
$this->current_stop_time = 0;
$this->current_data = '';
$this->status = $this->possible_status[0];
//$this->current_data = '';
//$this->status = $this->possible_status[0];
$this->interactions_count = $this->get_interactions_count(true);
if ($this->type == 'sco')
$this->scorm_init_time();

Loading…
Cancel
Save