fix getDolGlobalInt function name
This commit is contained in:
parent
28634dc860
commit
13e92bbc6c
1 changed files with 1 additions and 1 deletions
|
|
@ -1057,7 +1057,7 @@ if (empty($reshook)) {
|
|||
|
||||
if ($cancel) {
|
||||
$action = '';
|
||||
} elseif ($methodecommande <= 0 && !dolGetGlobalInt('SUPPLIER_ORDER_MODE_OPTIONAL')) {
|
||||
} elseif ($methodecommande <= 0 && !getDolGlobalInt('SUPPLIER_ORDER_MODE_OPTIONAL')) {
|
||||
setEventMessages($langs->trans("ErrorFieldRequired", $langs->transnoentities("OrderMode")), null, 'errors');
|
||||
$action = 'createorder';
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue