From 15272f6555edb2bea01f2ead9846800ad5f13e9a Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 2 Nov 2017 13:47:53 +0100 Subject: [PATCH] Return error code --- htdocs/fourn/class/fournisseur.facture.class.php | 1 + 1 file changed, 1 insertion(+) diff --git a/htdocs/fourn/class/fournisseur.facture.class.php b/htdocs/fourn/class/fournisseur.facture.class.php index c0439ecf3ff..afaa2e6a60f 100644 --- a/htdocs/fourn/class/fournisseur.facture.class.php +++ b/htdocs/fourn/class/fournisseur.facture.class.php @@ -1497,6 +1497,7 @@ class FactureFournisseur extends CommonInvoice else { $this->error=$this->line->error; + $this->errors=$this->line->errors; $this->db->rollback(); return -2; }