From 8f5d9063a49dd86f64f5354336c8ee1587b337e4 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Tue, 12 Jul 2016 11:00:32 +0200 Subject: [PATCH] Ignore article created by system. --- app/models/transaction/karma.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/models/transaction/karma.rb b/app/models/transaction/karma.rb index ad6ecc2a2..d41fec07f 100644 --- a/app/models/transaction/karma.rb +++ b/app/models/transaction/karma.rb @@ -130,6 +130,7 @@ class Transaction::Karma local_sender = Ticket::Article::Sender.lookup(id: local_article.sender_id) return false if !local_sender + next if local_sender.name == 'System' last_sender_customer = if local_sender.name == 'Customer' true