mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 09:10:25 +08:00
FIX: removing a default category wasn't working
This commit is contained in:
parent
5457684975
commit
4ba89eec27
2 changed files with 29 additions and 6 deletions
|
@ -336,7 +336,7 @@ module SiteSettingExtension
|
|||
valid = false unless value.to_i.is_a?(Fixnum)
|
||||
end
|
||||
|
||||
return valid
|
||||
valid
|
||||
end
|
||||
|
||||
def filter_value(name, value)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue