From 35099fc11d8c2b918611dbe14b05e6236231cee1 Mon Sep 17 00:00:00 2001 From: Julian Prud'homme Date: Fri, 30 Mar 2007 15:34:13 +0200 Subject: [PATCH] [svn r11813] update the progress field each time we change of item --- main/newscorm/lp_controller.php | 1 + 1 file changed, 1 insertion(+) diff --git a/main/newscorm/lp_controller.php b/main/newscorm/lp_controller.php index 2bf61c3465..b9b5b83d56 100644 --- a/main/newscorm/lp_controller.php +++ b/main/newscorm/lp_controller.php @@ -568,6 +568,7 @@ switch($_REQUEST['action']) if($debug>0) error_log('New LP - Item id is '.$_GET['item_id'],0); if(!$lp_found){ error_log('New LP - No learnpath given for content',0); require('lp_list.php'); } else{ + $_SESSION['oLP']->save_last(); $_SESSION['oLP']->set_current_item($_GET['item_id']); $_SESSION['oLP']->start_current_item(); require('lp_content.php');