Fix: Bad parameter

This commit is contained in:
Laurent Destailleur 2009-11-29 23:45:15 +00:00
parent 49ad04814b
commit c0b9a302ff

View File

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