make newly added settings available immediately

Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann (d00p)
2016-03-23 00:11:00 +01:00
parent 924a607183
commit 30bd81064c

View File

@@ -184,6 +184,8 @@ class Settings {
'value' => $value
);
Database::pexecute($ins_stmt, $ins_data);
// also set new value to internal array and make it available
self::$_data[$sstr[0]][$sstr[1]] = $value;
return true;
}
return false;