ntu_dropdown_fix

This commit is contained in:
Spen authored and Matt K. Fu committed 2013-05-14 14:19:55 +08:00
1 parent 287e77836d
commit b8da40b4ae
2 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -181,7 +181,7 @@ class User
def self.get_member_list_attribute_value(user_id,role_type,field_key)
@attribute = ::Attribute.where(:key => role_type).first
@AttributeField = ::AttributeField.where(:key => field_key, :attribute_id => @attribute.id).first
return ::AttributeValue.where(attribute_field_id: @AttributeField.id, :user_id => user_id).first[I18n.locale.to_s]
return ::AttributeValue.where(attribute_field_id: @AttributeField.id, :user_id => user_id).first
end
def create_dept_cache