Fix: Bad parameter

This commit is contained in:
Laurent Destailleur 2009-11-29 23:38:22 +00:00
parent b6cf196cd1
commit 49ad04814b

View File

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