Fix length of field

This commit is contained in:
Laurent Destailleur 2018-11-22 13:08:18 +01:00
parent 784c13d9d0
commit 0fbf213739

View File

@ -757,7 +757,7 @@ function pdf_bank(&$pdf,$outputlangs,$curx,$cury,$account,$onlynumber=0,$default
$content = $account->number; $content = $account->number;
} elseif ($val == 'BankAccountNumberKey') { } elseif ($val == 'BankAccountNumberKey') {
// Key // Key
$tmplength = 13; $tmplength = 15;
$content = $account->cle_rib; $content = $account->cle_rib;
}elseif ($val == 'IBAN' || $val == 'BIC') { }elseif ($val == 'IBAN' || $val == 'BIC') {
// Key // Key