From a34037b26c278838168ead13db144b3be3450026 Mon Sep 17 00:00:00 2001 From: Sam Date: Thu, 24 Jul 2014 18:38:27 +1000 Subject: [PATCH] FIX: typo --- app/services/badge_granter.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/services/badge_granter.rb b/app/services/badge_granter.rb index 4a7026ea1c0..3a75db3c792 100644 --- a/app/services/badge_granter.rb +++ b/app/services/badge_granter.rb @@ -132,7 +132,7 @@ class BadgeGranter FROM(#{sql}) q JOIN users u on u.id = q.user_id LEFT JOIN badge_posts p on p.id = q.post_id - LEFT JOIN topics t on t.id = q.topic_id + LEFT JOIN topics t on t.id = p.topic_id LIMIT 10" else "SELECT u.id, u.username, q.granted_at