From 7a9be101945dec9f2f155d7a61050e4c2838e900 Mon Sep 17 00:00:00 2001 From: chenjing Date: Mon, 19 Jun 2023 10:44:58 +0800 Subject: [PATCH] fix bug --- app/models/organization.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/organization.rb b/app/models/organization.rb index cd533d32d..fb1659d1a 100644 --- a/app/models/organization.rb +++ b/app/models/organization.rb @@ -109,7 +109,7 @@ class Organization < Owner def is_sign?(user_id) 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 def cla_sign_email(user_id)