Browse Source

cidreq missing

Eric Marguin 10 years ago
parent
commit
bb64303dbe
1 changed files with 1 additions and 1 deletions
  1. 1 1
      main/newscorm/lp_controller.php

+ 1 - 1
main/newscorm/lp_controller.php

@@ -528,7 +528,7 @@ switch ($action) {
                     // TODO: Maybe create a first module directly to avoid bugging the user with useless queries
                     $_SESSION['oLP'] = new learnpath(api_get_course_id(),$new_lp_id,api_get_user_id());
                     //require 'lp_build.php';
-                    $url = api_get_self().'?action=add_item&type=step&lp_id='.intval($new_lp_id);
+                    $url = api_get_self().'?action=add_item&type=step&lp_id='.intval($new_lp_id).'&'.api_get_cidreq();
                     header("Location: $url&isStudentView=false");
                     exit;
                 }