diff --git a/main/newscorm/lp_content.php b/main/newscorm/lp_content.php index 39c625ac1a..1ddecf3c11 100755 --- a/main/newscorm/lp_content.php +++ b/main/newscorm/lp_content.php @@ -1,5 +1,4 @@ */ -/** - * Code - */ -// Including the global initialization file. + require_once '../inc/global.inc.php'; $debug = 0; @@ -53,6 +49,7 @@ if ($dokeos_chapter) { case 1: $_SESSION['oLP']->stop_previous_item(); $prereq_check = $_SESSION['oLP']->prerequisites_match($lp_item_id); + if ($prereq_check === true) { $src = $_SESSION['oLP']->get_link('http', $lp_item_id); $_SESSION['oLP']->start_current_item(); // starts time counter manually if asset