[svn r15853] Fix HTTP 500 error when returning from another item of which prerequisites were not completed

skala
Yannick Warnier 17 years ago
parent b06ec273f4
commit f45e85a785
  1. 2
      main/newscorm/lp_comm.server.php

@ -141,6 +141,8 @@ function save_item($lp_id,$user_id,$view_id,$item_id,$score=-1,$max=-1,$min=-1,$
}
$mylpi->set_core_exit($core_exit);
$mylp->save_item($item_id,false);
}else{
return $objResponse;
}
$mystatus = $mylpi->get_status(false);

Loading…
Cancel
Save