From 57d03698941f2a2ff8ae3435bed7e2c969af4ec5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Hanol?= Date: Wed, 30 Nov 2016 18:05:59 +0100 Subject: [PATCH] FIX: don't raise an exception when a link was already extracted --- app/models/topic_link.rb | 37 +++++++++++++++++-------------------- 1 file changed, 17 insertions(+), 20 deletions(-) diff --git a/app/models/topic_link.rb b/app/models/topic_link.rb index 182c3d64d91..ddeac934d70 100644 --- a/app/models/topic_link.rb +++ b/app/models/topic_link.rb @@ -37,7 +37,7 @@ class TopicLink < ActiveRecord::Base def self.topic_map(guardian, topic_id) # Sam: complicated reports are really hard in AR - builder = SqlBuilder.new <