fix bug
This commit is contained in:
parent
633a6ba585
commit
7a9be10194
|
@ -109,7 +109,7 @@ class Organization < Owner
|
||||||
|
|
||||||
def is_sign?(user_id)
|
def is_sign?(user_id)
|
||||||
return false if cla.nil?
|
return false if cla.nil?
|
||||||
cla.user_clas.where(user_id: user_id, status: 1).present?
|
cla.user_clas.where(user_id: user_id, state: 1).present?
|
||||||
end
|
end
|
||||||
|
|
||||||
def cla_sign_email(user_id)
|
def cla_sign_email(user_id)
|
||||||
|
|
Loading…
Reference in New Issue