|
|
@ -53,11 +53,12 @@ if ($dokeos_chapter) { |
|
|
|
if ($prereq_check === true) { |
|
|
|
if ($prereq_check === true) { |
|
|
|
$src = $_SESSION['oLP']->get_link('http', $lp_item_id); |
|
|
|
$src = $_SESSION['oLP']->get_link('http', $lp_item_id); |
|
|
|
$_SESSION['oLP']->start_current_item(); // starts time counter manually if asset |
|
|
|
$_SESSION['oLP']->start_current_item(); // starts time counter manually if asset |
|
|
|
} else { |
|
|
|
$src = $_SESSION['oLP']->fixBlockedLinks($src); |
|
|
|
$src = 'blank.php?error=prerequisites'; |
|
|
|
|
|
|
|
|
|
|
|
break; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
$src = $_SESSION['oLP']->fixBlockedLinks($src); |
|
|
|
$src = 'blank.php?error=prerequisites'; |
|
|
|
break; |
|
|
|
break; |
|
|
|
case 2: |
|
|
|
case 2: |
|
|
|
$_SESSION['oLP']->stop_previous_item(); |
|
|
|
$_SESSION['oLP']->stop_previous_item(); |
|
|
|