Merge pull request #563 from code-couleurs/cidreq_missing

cidreq was missing when redirecting after item is deleted
1.10.x
Yannick Warnier 10 years ago
commit 22b2fca3ba
  1. 2
      main/newscorm/lp_controller.php

@ -984,7 +984,7 @@ switch ($action) {
if (!empty($_REQUEST['id'])) {
$_SESSION['oLP']->delete_item($_REQUEST['id']);
}
$url = api_get_self().'?action=add_item&type=step&lp_id='.intval($_REQUEST['lp_id']);
$url = api_get_self().'?action=add_item&type=step&lp_id='.intval($_REQUEST['lp_id']).api_get_cidreq();
header('Location: '.$url);
exit;
}

Loading…
Cancel
Save