Fix verif

This commit is contained in:
Laurent Destailleur 2017-10-12 00:42:48 +02:00
parent 15bcbc8b43
commit 5f401839d6

View File

@ -1349,7 +1349,7 @@ class Account extends CommonObject
// Call function to check BAN
if (! checkIbanForAccount($bac) || ! checkSwiftForAccount($bac))
if (! checkIbanForAccount($this) || ! checkSwiftForAccount($this))
{
$this->error_number = 12;
$this->error_message = 'IBANSWIFTControlError';