fix for pro settings if settings are not enabled

This commit is contained in:
harrybomrah committed 2016-07-06 16:43:09 +08:00
1 parent bfbececdbf
commit b67730775c
1 file changed
+1 -1
+1 -1
View File
@@ -13,6 +13,6 @@ class AnnouncementSetting
end
def self.is_pro?
self.first.pro_enabled
self.first.pro_enabled rescue false
end
end