forked from Wavyzz/dolibarr
Fix warning
This commit is contained in:
@@ -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];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user