confirm_pret($id_empr, $id, $short_loan, 'gestion_rfid'); } ajax_http_send_response("$status","text/xml"); } else { $status = $expl->confirm_pret($id_empr, $id_expl, $short_loan, 'gestion_rfid'); ajax_http_send_response("$status","text/xml"); } ?>