1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2025-02-13 01:50:46 +01:00

Fix validate

This commit is contained in:
MatteoPistorello 2024-09-17 10:44:44 +02:00
parent 5d2be71108
commit 3e39bd8211

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];