fix error

This commit is contained in:
chiu 2020-01-20 10:35:01 +08:00
parent 19ee758d4b
commit d37bad98b9
1 changed files with 6 additions and 5 deletions

View File

@ -14,5 +14,6 @@ class MemberLog
belongs_to :member_profile
has_many :dayoffs
def self.get_plugin_datas_to_member(datas)
page = Page.where(:module => "member_log").first rescue nil
end