lib/active_ldap/attribute_methods/dirty.rb in activeldap-3.2.1 vs lib/active_ldap/attribute_methods/dirty.rb in activeldap-3.2.2

- old
+ new

@@ -31,10 +31,10 @@ end end protected def set_attribute(name, value) - if name != "objectClass" + if name and name != "objectClass" attribute_will_change!(name) unless value == get_attribute(name) end super end end