mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-20 13:56:30 +00:00
Bug fix
This commit is contained in:
@ -85,7 +85,7 @@ class BaseInvenTreeSetting(models.Model):
|
||||
|
||||
# Convert to javascript compatible booleans
|
||||
if cls.validator_is_bool(validator):
|
||||
value = value.lower()
|
||||
value = str(value).lower()
|
||||
|
||||
# Numerical values remain the same
|
||||
elif cls.validator_is_int(validator):
|
||||
|
Reference in New Issue
Block a user