ajout debug
This commit is contained in:
parent
26c7357e9c
commit
c680fc05ac
@ -119,7 +119,8 @@ if ($_POST['action'] == 'setdeliveryadress' && $user->rights->propal->creer)
|
|||||||
{
|
{
|
||||||
$propal = new Propal($db);
|
$propal = new Propal($db);
|
||||||
$propal->fetch($_GET['propalid']);
|
$propal->fetch($_GET['propalid']);
|
||||||
$propal->set_adresse_livraison($user,$_POST['adresse_livraison_id']);
|
$result=$propal->set_adresse_livraison($user,$_POST['adresse_livraison_id']);
|
||||||
|
if ($result < 0) dolibarr_print_error($db,$propal->error);
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($_POST['action'] == 'add')
|
if ($_POST['action'] == 'add')
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user