Project

General

Profile

« Previous | Next » 

Revision 52130dc9

Added by Marc Dequènes over 15 years ago

  • ID 52130dc928ecad7e7208e09c18625ea16f8412ff

[fix] corrected mistake in find() method overload introduced in previous commit

View differences:

lib/ldap_shadows/object.rb
end
def self.find(*args)
obj = super(*args)
obj.load_initial_attribute_list
return obj
obj_stuff = super(*args)
if obj_stuff.is_a? Array
obj_list = obj_stuff
else
obj_list = [obj_stuff]
end
obj_list.each do |obj|
obj.load_initial_attribute_list
end
return obj_stuff
end
def load_initial_attribute_list

Also available in: Unified diff