From 5a5c600e8a9ea02bda903bf6e0ebff2c69f65737 Mon Sep 17 00:00:00 2001 From: Julio Montoya Date: Tue, 3 Mar 2015 14:56:29 +0100 Subject: [PATCH] Minor - format code. --- main/newscorm/lp_content.php | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) 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