commit
70ce043b58
1 changed files with 2 additions and 1 deletions
|
|
@ -166,6 +166,8 @@ if (empty($reshook)) {
|
|||
}
|
||||
}
|
||||
|
||||
$selectedLines = GETPOST('toselect', 'array');
|
||||
|
||||
if ($cancel) {
|
||||
if (!empty($backtopageforcancel)) {
|
||||
header("Location: ".$backtopageforcancel);
|
||||
|
|
@ -265,7 +267,6 @@ if (empty($reshook)) {
|
|||
// Add order
|
||||
$datecommande = dol_mktime(12, 0, 0, GETPOST('remonth'), GETPOST('reday'), GETPOST('reyear'));
|
||||
$date_delivery = dol_mktime(GETPOST('liv_hour', 'int'), GETPOST('liv_min', 'int'), 0, GETPOST('liv_month', 'int'), GETPOST('liv_day', 'int'), GETPOST('liv_year', 'int'));
|
||||
$selectedLines = GETPOST('toselect', 'array');
|
||||
|
||||
if ($datecommande == '') {
|
||||
setEventMessages($langs->trans('ErrorFieldRequired', $langs->transnoentities('Date')), null, 'errors');
|
||||
|
|
|
|||
Loading…
Reference in a new issue