From 71f5b33ad0b5f3fc997f647830c82dde68c7450f Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 13 Dec 2006 19:28:27 +0000 Subject: [PATCH] =?UTF-8?q?Fix:=20Objet=20user=20pass=E9=20aux=20triggers?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/commande/commande.class.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/htdocs/commande/commande.class.php b/htdocs/commande/commande.class.php index 054c85ae7d7..c424b93ffd7 100644 --- a/htdocs/commande/commande.class.php +++ b/htdocs/commande/commande.class.php @@ -2191,7 +2191,7 @@ class CommandeLigne */ function Delete() { - global $langs, $conf; + global $langs, $conf, $user; dolibarr_syslog("CommandeLigne::Delete id=".$this->id); @@ -2212,13 +2212,14 @@ class CommandeLigne return -1; } } + /** * \brief Insère l'objet ligne de commande en base * \return int <0 si ko, >0 si ok */ function insert() { - global $langs, $conf; + global $langs, $conf, $user; dolibarr_syslog("CommandeLigne.class::insert rang=".$this->rang); $this->db->begin();