LP: Fix progress not saved in not scorm lps see BT#17951

pull/3628/head
Julio Montoya 6 years ago
parent bf6b031e7e
commit 604b03cb54
  1. 3
      main/lp/learnpath.class.php

@ -4929,7 +4929,8 @@ class learnpath
// Save progress.
list($progress) = $this->get_progress_bar_text('%');
$scoreAsProgressSetting = api_get_configuration_value('lp_score_as_progress_enable');
if ($scoreAsProgressSetting && (null === $score || empty($score) || -1 == $score)) {
$scoreAsProgress = $this->getUseScoreAsProgress();
if ($scoreAsProgress && $scoreAsProgressSetting && (null === $score || empty($score) || -1 == $score)) {
return false;
}

Loading…
Cancel
Save