fix for pro settings if settings are not enabled
This commit is contained in:
parent
bfbececdbf
commit
b67730775c
|
@ -13,6 +13,6 @@ class AnnouncementSetting
|
|||
end
|
||||
|
||||
def self.is_pro?
|
||||
self.first.pro_enabled
|
||||
self.first.pro_enabled rescue false
|
||||
end
|
||||
end
|
Loading…
Reference in New Issue