WIP: If time is not set then update the stop time.

So total time is calculated correctly and changes instead of always
saving 0.

see BT13554
pull/2487/head
Julio 7 years ago
parent 83c1818849
commit 2234d06bf2
  1. 2
      main/lp/lp_ajax_save_item.php

@ -368,6 +368,8 @@ function save_item(
}
$myLPI->set_time($time, 'scorm');
}
} else {
$myLPI->current_stop_time = time();
}
if (isset($suspend) && $suspend != '' && $suspend != 'undefined') {

Loading…
Cancel
Save