From 3dbab863a77dc8b78ea876d8ebcdf4f0300853ef Mon Sep 17 00:00:00 2001 From: Maxime Kohlhaas <maxime@atm-consulting.fr> Date: Fri, 28 Oct 2016 10:24:31 +0200 Subject: [PATCH] Fix : vars were not set after commande function --- htdocs/fourn/class/fournisseur.commande.class.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/htdocs/fourn/class/fournisseur.commande.class.php b/htdocs/fourn/class/fournisseur.commande.class.php index 523f89862c8..c5020e8fa33 100644 --- a/htdocs/fourn/class/fournisseur.commande.class.php +++ b/htdocs/fourn/class/fournisseur.commande.class.php @@ -950,6 +950,8 @@ class CommandeFournisseur extends CommonOrder { $result = 1; $this->log($user, 3, $date, $comment); + $this->date_commande = $date; + $this->methode_commande = $methode; } else { -- GitLab