summaryrefslogtreecommitdiffstats
path: root/app/models/member.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/member.rb')
-rw-r--r--app/models/member.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/member.rb b/app/models/member.rb
index f54981867..15f2b6c9a 100644
--- a/app/models/member.rb
+++ b/app/models/member.rb
@@ -84,7 +84,7 @@ class Member < ActiveRecord::Base
protected
def validate_role
- errors.add_on_empty :role if member_roles.empty? && roles.empty?
+ errors.add_on_empty :roles if member_roles.empty? && roles.empty?
end
private