1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2025-01-01 10:37:31 +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,6 +105,7 @@ class Settings
public static function setValue($setting, $value) public static function setValue($setting, $value)
{ {
$setting = self::get($setting); $setting = self::get($setting);
$value = (is_array($value) ? implode(",",$value) : $value);
// Trasformazioni // Trasformazioni
// Boolean (checkbox) // Boolean (checkbox)