From 49ad04814b51dce03681b9bd97c4fb65cb6abebc Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 29 Nov 2009 23:38:22 +0000 Subject: [PATCH] Fix: Bad parameter --- htdocs/product/fiche.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/product/fiche.php b/htdocs/product/fiche.php index 461ad4f173a..0c0f7681992 100644 --- a/htdocs/product/fiche.php +++ b/htdocs/product/fiche.php @@ -478,7 +478,7 @@ if ($_POST["action"] == 'addinfacture' && $user->rights->facture->creer) } $soc = new Societe($db); - $soc->fetch($facture->socid,$user); + $soc->fetch($facture->socid); if ($result <= 0) { dol_print_error($db,$soc->error);