@ -2254,7 +2254,6 @@ HOTSPOT;
$status
);
if (!empty($result)) {
foreach ($result as $attempt) {
$data = [
@ -2412,7 +2411,6 @@ HOTSPOT;
}
$session_id_and = " AND te.session_id IN(".implode(',', $sessionIds).")";
$sessionCondition = " AND ttte.session_id IN(".implode(',', $sessionIds).")";
} else {
return false;
@ -4982,8 +4982,7 @@ class learnpath
/**
* Update the last progress only in case
*
* Update the last progress only in case.
*/
public function updateLpProgress()
{
@ -5023,7 +5022,6 @@ class learnpath
->hookLearningPathEnd();
@ -487,7 +487,7 @@ try {
$userId = isset($_POST['user_id']) ? (int) $_POST['user_id'] : 0;
$currentApiKey = $_POST['current_api_key'] ?? '';
if (empty($userId) || empty($currentApiKey)) {
throw new Exception(get_lang('NotAllowed'));
@ -1572,7 +1572,6 @@ class CourseBuilder
public function exportToCourseBuildFormat()
if (empty($this->itemListToAdd)) {