1
0
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:
Beppe 2021-05-26 18:00:43 +02:00
parent 22bbe607ff
commit a2061a3a69

View File

@ -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') {