bugfix
This commit is contained in:
parent
70a7e1c8a7
commit
56d36676e7
@ -202,6 +202,9 @@ if ($_POST['action'] == 'addligne' && $user->rights->commande->creer)
|
|||||||
{
|
{
|
||||||
$commande = new Commande($db);
|
$commande = new Commande($db);
|
||||||
$ret=$commande->fetch($_POST['id']);
|
$ret=$commande->fetch($_POST['id']);
|
||||||
|
$soc = new Societe($db, $commande->socidp);
|
||||||
|
$soc->fetch($commande->socidp);
|
||||||
|
|
||||||
if ($ret < 0)
|
if ($ret < 0)
|
||||||
{
|
{
|
||||||
dolibarr_print_error($db,$commande->error);
|
dolibarr_print_error($db,$commande->error);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user