lib/eco/api/usecases/default_cases/create_case.rb in eco-helpers-1.3.15 vs lib/eco/api/usecases/default_cases/create_case.rb in eco-helpers-1.3.16

- old
+ new

@@ -67,10 +67,10 @@ person.account.permissions_custom = session.new_preset(person) if session.tagtree person.account.default_tag = session.tagtree.default_tag(*person.filter_tags) else - tags = person.filter_tags + tags = person.filter_tags || [] person.account.default_tag = tags.first unless tags.length > 1 end end creation.add(person)