From 9685b56375b653361bed0729d0cd6e83cdbafbc2 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 15 Dec 2019 15:03:22 +0100 Subject: [PATCH] Fix warning --- htdocs/compta/bank/class/account.class.php | 1 + 1 file changed, 1 insertion(+) diff --git a/htdocs/compta/bank/class/account.class.php b/htdocs/compta/bank/class/account.class.php index aca498c1ed6..594cad56ea0 100644 --- a/htdocs/compta/bank/class/account.class.php +++ b/htdocs/compta/bank/class/account.class.php @@ -1427,6 +1427,7 @@ class Account extends CommonObject if (!empty($this->iban)) { // If IBAN defined, we can know country of account from it + $reg = array(); if (preg_match("/^([a-zA-Z][a-zA-Z])/i", $this->iban, $reg)) return $reg[1]; }