setting manager always sets default value on init
This commit is contained in:
parent
6df3200255
commit
0ad335081f
@ -187,7 +187,8 @@ class SettingManager {
|
||||
@value := ?,
|
||||
@value
|
||||
) ON DUPLICATE KEY UPDATE
|
||||
`index` = LAST_INSERT_ID(`index`);";
|
||||
`type` = VALUE(`type`),
|
||||
`default` = VALUE(`default`);";
|
||||
$settingStatement = $mysqli->prepare($settingQuery);
|
||||
if ($mysqli->error) {
|
||||
trigger_error($mysqli->error);
|
||||
|
Loading…
Reference in New Issue
Block a user