Fix validate

This commit is contained in:
MatteoPistorello 2024-09-17 10:44:44 +02:00
parent 5d2be71108
commit 3e39bd8211
1 changed files with 1 additions and 1 deletions

View File

@ -128,7 +128,7 @@ class Validate
$fields['ragione_sociale'] = $data->company_name;
// Indirizzo
$address = $data->company_address;
$address = $data->company_address ?: '';
$info = explode(PHP_EOL, $address);
$fields['indirizzo'] = $info[0];