mirror of
https://github.com/devcode-it/openstamanager.git
synced 2024-12-28 16:50:06 +01:00
Fix salvataggio impostazioni con valori multipli
This commit is contained in:
parent
22bbe607ff
commit
a2061a3a69
@ -105,7 +105,8 @@ class Settings
|
||||
public static function setValue($setting, $value)
|
||||
{
|
||||
$setting = self::get($setting);
|
||||
|
||||
$value = (is_array($value) ? implode(",",$value) : $value);
|
||||
|
||||
// Trasformazioni
|
||||
// Boolean (checkbox)
|
||||
if ($setting->tipo == 'boolean') {
|
||||
|
Loading…
Reference in New Issue
Block a user