From 5f4535c4089a584a3ea628872144b22820aa5542 Mon Sep 17 00:00:00 2001 From: evazion Date: Sat, 14 Jan 2017 21:09:53 +0000 Subject: [PATCH] Fix #2839: "Original" tag shows up twice in Pixiv source data --- app/logical/sources/strategies/base.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/logical/sources/strategies/base.rb b/app/logical/sources/strategies/base.rb index 48a9ca98e..bc0e1624a 100644 --- a/app/logical/sources/strategies/base.rb +++ b/app/logical/sources/strategies/base.rb @@ -83,7 +83,7 @@ module Sources end def tags - @tags || [] + @tags.uniq || [] end # Should be set to a url for sites that prevent hotlinking, or left nil for sites that don't.