diff --git a/models/site.rb b/models/site.rb index fbb2707d..6050d012 100644 --- a/models/site.rb +++ b/models/site.rb @@ -914,7 +914,8 @@ class Site < Sequel::Model def plan_type return 'free' if owner.values[:plan_type].nil? - return 'supporter' if owner.values[:plan_type].match /^plan_/ || owner.values[:plan_type] == 'special' + return 'supporter' if owner.values[:plan_type].match /^plan_/ + return 'supporter' if owner.values[:plan_type] == 'special' owner.values[:plan_type] end