get('ck',"string", 0); if ($ck == 0) { echo _("Aucune sélection"); exit(); } $anc=new Document_Export(); $type_pdf=$http->get("type_pdf","number",1); $reconcilied_document=$http->get("reconcilied_document","number",1); $task_id=$http->request("task_id"); $progress=new Progress_Bar($task_id); try { $anc->export_all($ck,$progress,$type_pdf,$reconcilied_document); } catch (Exception $ex) { record_log($ex); }