diff --git a/app/models/cti/caller_id.rb b/app/models/cti/caller_id.rb index e591f5a98..42e81391e 100644 --- a/app/models/cti/caller_id.rb +++ b/app/models/cti/caller_id.rb @@ -23,7 +23,7 @@ module Cti o_id: data[:o_id], user_id: data[:user_id], ) - return if !record.new_record? + return record if !record.new_record? record.comment = data[:comment] record.save! end