diff --git a/include/class/tva_rate_mtable.class.php b/include/class/tva_rate_mtable.class.php index 216dd0fc7..804672f1c 100644 --- a/include/class/tva_rate_mtable.class.php +++ b/include/class/tva_rate_mtable.class.php @@ -272,7 +272,7 @@ class Tva_Rate_MTable extends Manage_Table_SQL if ( $count < 2) { throw new Exception(_("Vous ne pouvez pas effacer tous les taux. Si votre société n'utilise pas la TVA, changer dans le menu société")); } - + $cn->exec_sql("delete from tva_rate where tva_id=$1", [$this->table->tva_id]); } }