From 4fcde0eaa3e7880858c116014e79709c7a52276a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20FRANCE?= Date: Sat, 2 Mar 2019 01:37:49 +0100 Subject: [PATCH] Update facture-rec.class.php --- htdocs/compta/facture/class/facture-rec.class.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/htdocs/compta/facture/class/facture-rec.class.php b/htdocs/compta/facture/class/facture-rec.class.php index 2e0d346e62f..aaed882aab4 100644 --- a/htdocs/compta/facture/class/facture-rec.class.php +++ b/htdocs/compta/facture/class/facture-rec.class.php @@ -323,6 +323,8 @@ class FactureRec extends CommonInvoice { global $conf; + $error = 0; + $sql = "UPDATE ".MAIN_DB_PREFIX."facture_rec SET"; $sql.= " fk_soc = ".$this->fk_soc; // TODO Add missing fields