diff --git a/main/newscorm/lp_content.php b/main/newscorm/lp_content.php index dc91a6b0a3..39c625ac1a 100644 --- a/main/newscorm/lp_content.php +++ b/main/newscorm/lp_content.php @@ -21,10 +21,9 @@ if (empty($lp_controller_touched)) { if ($debug > 0) { error_log('New lp - In lp_content.php - Redirecting to lp_controller', 0); } - header('location: lp_controller.php?action=content&lp_id='.Security::remove_XSS($_REQUEST['lp_id']).'&item_id='.Security::remove_XSS($_REQUEST['item_id'])); + header('location: lp_controller.php?action=content&lp_id='.Security::remove_XSS($_REQUEST['lp_id']).'&item_id='.Security::remove_XSS($_REQUEST['item_id']).'&'.api_get_cidreq()); exit; } - $_SESSION['oLP']->error = ''; $lp_type = $_SESSION['oLP']->get_type(); $lp_item_id = $_SESSION['oLP']->get_current_item_id(); @@ -112,5 +111,5 @@ $_setting['show_navigation_menu'] = false; if ($debug > 0) { error_log('New LP - In lp_content.php - Loading '.$src, 0); } - header("Location: ".urldecode($src)); +exit;