Fix: Bad parameter
This commit is contained in:
parent
b6cf196cd1
commit
49ad04814b
@ -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);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user