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);