fix for pro settings if settings are not enabled
This commit is contained in:
1 parent
bfbececdbf
commit
b67730775c
1 file changed
+1
-1
@@ -13,6 +13,6 @@ class AnnouncementSetting
|
||||
end
|
||||
|
||||
def self.is_pro?
|
||||
self.first.pro_enabled
|
||||
self.first.pro_enabled rescue false
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user