lib/updateagent/updaters/people_updater.rb in onebody-updateagent-0.5.3 vs lib/updateagent/updaters/people_updater.rb in onebody-updateagent-0.5.4

- old
+ new

@@ -17,10 +17,10 @@ person, family = split_change_hash(row) # massaging if person.has_key?('email') person['email_changed'] = false end - if person.has_key?('relationships') and !(rels = person['relationships'].split(',').sort.join(',')).blank? + if person.has_key?('relationships') and rels = person['relationships'].split(',').sort.join(',') person['relationships_hash'] = Digest::SHA1.hexdigest(rels) end # link to cached family or cache new family if existing_family = family_data[family['legacy_id']] person['family'] = existing_family