mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-02-16 19:40:44 +01:00
Fix validate
This commit is contained in:
parent
3e39bd8211
commit
f9efe990d1
@ -132,7 +132,7 @@ class Validate
|
||||
$info = explode(PHP_EOL, $address);
|
||||
$fields['indirizzo'] = $info[0];
|
||||
|
||||
$info = explode(' ', $info[1]);
|
||||
$info = explode(' ', $info[1] ?: '');
|
||||
|
||||
$fields['cap'] = $info[0];
|
||||
$fields['provincia'] = end($info);
|
||||
|
Loading…
x
Reference in New Issue
Block a user