Fix validate
This commit is contained in:
parent
5d2be71108
commit
3e39bd8211
|
@ -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];
|
||||
|
||||
|
|
Loading…
Reference in New Issue