X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=gl%2Fbank_account_reconcile.php;h=6875e068e4b6e2d2949d7ff51e71da2f9b78b891;hb=df671df0181c7b578bb75e07e581c5e9878e2aaa;hp=a5738946451ea7385e6890a128de1b3dd48d939b;hpb=413edb18717f1f6c19009f843465092f26f197a6;p=fa-stable.git diff --git a/gl/bank_account_reconcile.php b/gl/bank_account_reconcile.php index a5738946..6875e068 100644 --- a/gl/bank_account_reconcile.php +++ b/gl/bank_account_reconcile.php @@ -175,7 +175,7 @@ if ($id != -1) change_tpl_flag($id); -if (isset($_POST['Reconcile'])) { +if (isset($_POST['last']) && isset($_POST['Reconcile'])) { set_focus('bank_date'); foreach($_POST['last'] as $id => $value) if ($value != check_value('rec_'.$id)) @@ -184,7 +184,7 @@ if (isset($_POST['Reconcile'])) { $Ajax->activate('_page_body'); } -if (isset($_POST['ReconcileAll'])) { +if (isset($_POST['last']) && isset($_POST['ReconcileAll'])) { set_focus('bank_date'); foreach($_POST['last'] as $id => $value) set_tpl_flag($id);