Fix LP when checking prerequisites - refs BT#10959 #TMI

1.10.x
Angel Fernando Quiroz Campos 9 years ago
parent f7511895b3
commit 849f971c0c
  1. 7
      main/newscorm/lp_content.php

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

Loading…
Cancel
Save