mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-03-12 01:00:13 +01:00
Merge branch 'master' of https://github.com/devcode-it/openstamanager
This commit is contained in:
commit
004a0bdd42
@ -198,7 +198,7 @@ switch (filter('op')) {
|
||||
$id = filter('id');
|
||||
|
||||
$widget = $database->table('zz_widgets_lang')
|
||||
->where('id', '=', $id)
|
||||
->where('id_record', '=', $id)
|
||||
->first();
|
||||
|
||||
// Abilitazione del widget indicato
|
||||
|
@ -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…
x
Reference in New Issue
Block a user