Fix an issue where the preferences JSON file has no effect when an external database is used. #7618

This commit is contained in:
Pravesh Sharma authored and GitHub committed 2024-07-09 12:52:23 +05:30
1 parent 5c5b61c4db
commit f3c95d9643
1 file changed
+3 -3
+3 -3
View File
@@ -549,9 +549,9 @@ class ManagePreferences:
if f in prefs:
ids = prefs[f].split(":")
_row = {
'mid': ids[0],
'category_id': ids[1],
'id': ids[2],
'mid': int(ids[0]),
'category_id': int(ids[1]),
'id': int(ids[2]),
'name': final_opt[2],
'user_id': user_id,
'value': val}