Fix when verif is called several times
This commit is contained in:
parent
56e437a6c3
commit
31ab73ff3c
@ -1345,6 +1345,8 @@ class Account extends CommonObject
|
||||
{
|
||||
require_once DOL_DOCUMENT_ROOT . '/core/lib/bank.lib.php';
|
||||
|
||||
$this->error_number = 0;
|
||||
|
||||
// Call function to check BAN
|
||||
if (! checkBanForAccount($this))
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user