fix the bug with huge time stored when browsing learnpaths

skala
Eric Marguin 16 years ago
parent 192682819a
commit 327cd789c7
  1. 7
      main/newscorm/learnpathItem.class.php

@ -1207,11 +1207,8 @@ function get_terms()
} }
else else
{ {
if($this->current_start_time == 0) // if we don't init start time here, the time is sometimes calculated from the las start time
{ //small exception for start time, to avoid amazing values $this->current_start_time = time();
$this->current_start_time = time();
}
//error_log('New LP - reinit blocked by setting',0);
} }
} }
/** /**

Loading…
Cancel
Save