From 3e39bd821157fb52a6d8aea70b77e4d121771ced Mon Sep 17 00:00:00 2001 From: MatteoPistorello Date: Tue, 17 Sep 2024 10:44:44 +0200 Subject: [PATCH] Fix validate --- src/Validate.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Validate.php b/src/Validate.php index 138acf45d..bf5cd5021 100755 --- a/src/Validate.php +++ b/src/Validate.php @@ -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];