mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-01-07 17:42:53 +01:00
Fix: move method in common class
This commit is contained in:
@@ -449,7 +449,7 @@ if ($action == 'setaddress' && $user->rights->commande->creer)
|
||||
if ($action == 'setmode' && $user->rights->commande->creer)
|
||||
{
|
||||
$object->fetch($id);
|
||||
$result=$object->mode_reglement($_POST['mode_reglement_id']);
|
||||
$result = $object->setPaymentMethods(GETPOST('mode_reglement_id','int'));
|
||||
if ($result < 0) dol_print_error($db,$object->error);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user