Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix tie's activity creation

  • Loading branch information...
commit 5345a2e5b5a5137c3195c0b4ee07630b5e0a474e 1 parent 5a56ae1
@atd atd authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  app/models/tie.rb
View
2  app/models/tie.rb
@@ -88,7 +88,7 @@ def receiver_subject
#
# Create contact activity if this is the first tie
def create_activity
- return unless contact.ties_count == 1
+ return if contact.reload.ties_count != 1
Activity.create! :contact => contact,
:relation_ids => contact.relation_ids,
Please sign in to comment.
Something went wrong with that request. Please try again.