Fix avoid error message when pressing enter into bank reconciliation
This commit is contained in:
parent
8c903bf935
commit
a6c6f2d50b
@ -235,8 +235,12 @@ if (empty($reshook)) {
|
||||
include DOL_DOCUMENT_ROOT.'/core/actions_massactions.inc.php';
|
||||
}
|
||||
|
||||
$rowids = GETPOST('rowid', 'array');
|
||||
|
||||
// Conciliation
|
||||
if ((GETPOST('confirm_savestatement', 'alpha') || GETPOST('confirm_reconcile', 'alpha')) && !empty($user->rights->banque->consolidate)
|
||||
if ((GETPOST('confirm_savestatement', 'alpha') || GETPOST('confirm_reconcile', 'alpha'))
|
||||
&& (GETPOST("num_releve", "alpha") || !empty($rowids))
|
||||
&& !empty($user->rights->banque->consolidate)
|
||||
&& (!GETPOSTISSET('pageplusone') || (GETPOST('pageplusone') == GETPOST('pageplusoneold')))) {
|
||||
$error = 0;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user