mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 09:28:37 +00:00
Fix database saving default values to global_values when multisite was set to "no"
This commit is contained in:
parent
64789276ac
commit
cf26d7aa22
1 changed files with 5 additions and 0 deletions
|
|
@ -569,6 +569,11 @@ class Database:
|
|||
)
|
||||
|
||||
if global_value is None:
|
||||
if value == setting.default or (
|
||||
not value.strip() and setting.default is None
|
||||
):
|
||||
continue
|
||||
|
||||
to_put.append(
|
||||
Global_values(
|
||||
setting_id=key,
|
||||
|
|
|
|||
Loading…
Reference in a new issue