forked from saurabh/orbit4-5
small fix
This commit is contained in:
parent
93d66b5866
commit
bead39d5b4
|
@ -240,7 +240,7 @@ class MembersController < ApplicationController
|
|||
if !av.nil?
|
||||
r = av.attribute_field.role rescue nil
|
||||
if !r.nil?
|
||||
if memeber.roles.include?(r)
|
||||
if member.roles.include?(r)
|
||||
field_data = av.get_field_value rescue {}
|
||||
else
|
||||
field_data = {}
|
||||
|
|
Loading…
Reference in New Issue