fix: creazione banca in importazione fattura elettronica

This commit is contained in:
valentina 2024-11-07 09:45:20 +01:00
parent fd6d946448
commit 4d6e768844
1 changed files with 1 additions and 2 deletions

View File

@ -392,8 +392,7 @@ class IBAN
$this->nation = $nation = substr($iban, 0, 2); $this->nation = $nation = substr($iban, 0, 2);
$info = self::$countries[$nation]; $info = self::$countries[$nation];
$structure = $info['structure']; $structure = $info['structure'] ? str_replace(' ', '', $info['structure']) : '';
$structure = str_replace(' ', '', $structure);
$regex = $nation; $regex = $nation;
$keys = array_keys(self::$parsers); $keys = array_keys(self::$parsers);