fix the bug with huge time stored when browsing learnpaths

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

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

Loading…
Cancel
Save