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?
|
if !av.nil?
|
||||||
r = av.attribute_field.role rescue nil
|
r = av.attribute_field.role rescue nil
|
||||||
if !r.nil?
|
if !r.nil?
|
||||||
if memeber.roles.include?(r)
|
if member.roles.include?(r)
|
||||||
field_data = av.get_field_value rescue {}
|
field_data = av.get_field_value rescue {}
|
||||||
else
|
else
|
||||||
field_data = {}
|
field_data = {}
|
||||||
|
|
Loading…
Reference in New Issue