Project

General

Profile

« Previous | Next » 

Revision 2af0173c

Added by Marc Dequènes about 14 years ago

  • ID 2af0173c17d7268526be815bceba049e83e38483

[fix] compute an object human name for non-string values too

View differences:

lib/ldap_shadows/elements/object.rb
return self.dn.to_s
elsif self.attribute_present?(attr)
val = self.send(attr, true)
return val[0].strip
return val[0].to_s.strip
end
end
return ""

Also available in: Unified diff