From da5cf895d0344f6b1f6a4c5fb446a3deb9b5eb37 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 28 Apr 2010 07:08:15 +0000 Subject: [PATCH] Fix: Missing global --- htdocs/comm/propal/propal.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/comm/propal/propal.class.php b/htdocs/comm/propal/propal.class.php index 625b638b3da..78c9352bcf0 100644 --- a/htdocs/comm/propal/propal.class.php +++ b/htdocs/comm/propal/propal.class.php @@ -391,7 +391,7 @@ class Propal extends CommonObject */ function updateline($rowid, $pu, $qty, $remise_percent=0, $txtva, $desc='', $price_base_type='HT', $info_bits=0) { - global $conf; + global $conf,$user,$langs; dol_syslog("Propal::UpdateLine $rowid, $pu, $qty, $remise_percent, $txtva, $desc, $price_base_type, $info_bits"); include_once(DOL_DOCUMENT_ROOT.'/lib/price.lib.php'); @@ -1583,7 +1583,7 @@ class Propal extends CommonObject */ function delete($user, $notrigger=0) { - global $conf; + global $conf,$langs; $this->db->begin();