diff --git a/html/admin_repo.php b/html/admin_repo.php index 7c2c3c82c..118ef164a 100644 --- a/html/admin_repo.php +++ b/html/admin_repo.php @@ -141,7 +141,14 @@ if ( isset ($_GET["action"]) ) { domaine, $_POST["FMOD_ID"]); echo_debug($Sql); - ExecSql($cn,$Sql); + ob_start(); + if ( pg_query($cn,$Sql)==false) { + ob_clean(); + ExecSql($cn,"delete from ac_dossier where dos_id=$l_id"); + echo "