From 5f401839d6868fddcfed035097906166ad350ddc Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 12 Oct 2017 00:42:48 +0200 Subject: [PATCH] Fix verif --- htdocs/compta/bank/class/account.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/compta/bank/class/account.class.php b/htdocs/compta/bank/class/account.class.php index 9d1bf141dc5..a9ad95d26d5 100644 --- a/htdocs/compta/bank/class/account.class.php +++ b/htdocs/compta/bank/class/account.class.php @@ -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';