Project

General

Profile

« Previous | Next » 

Revision b38e4cfb

Added by Marc Dequènes over 14 years ago

  • ID b38e4cfb82e0646d058b28f5bfc6ce7490c1cd8f

[fix] correct handling of multiple values (closes #108)

View differences:

lib/ldap_shadows/elements/object.rb
[key, {
:syntax => attr_info.syntax.to_param,
:value => val,
:multiple => (val.is_a?(Array) ? val.size : 1),
:multiple => val.is_a?(Array),
:expert => expert_attributes.include?(key),
:admin => admin_attributes.include?(key),
:binary => attr_info.binary?

Also available in: Unified diff