Fix when verif is called several times

This commit is contained in:
Laurent Destailleur 2017-10-12 00:12:26 +02:00
parent 56e437a6c3
commit 31ab73ff3c

View File

@ -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))
{