From c0b9a302ff4ee07c3509f9c420d2ee7aa2bdf94b Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 29 Nov 2009 23:45:15 +0000 Subject: [PATCH] Fix: Bad parameter --- htdocs/product/fiche.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/product/fiche.php b/htdocs/product/fiche.php index 0c0f7681992..8e404e7eb7d 100644 --- a/htdocs/product/fiche.php +++ b/htdocs/product/fiche.php @@ -317,7 +317,7 @@ if ($_POST["action"] == 'addinpropal') } $soc = new Societe($db); - $result=$soc->fetch($propal->socid,$user); + $result=$soc->fetch($propal->socid); if ($result <= 0) { dol_print_error($db,$soc->error); @@ -398,7 +398,7 @@ if ($_POST["action"] == 'addincommande') } $soc = new Societe($db); - $result=$soc->fetch($commande->socid,$user); + $result=$soc->fetch($commande->socid); if ($result <= 0) { dol_print_error($db,$soc->error);