From 268b7b99add02cd4be0b7db96a7f78763e59ccf7 Mon Sep 17 00:00:00 2001 From: Albert Yi Date: Mon, 16 Jan 2017 15:41:46 -0800 Subject: [PATCH] fix nil error --- 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 bc0e1624a..27ac0bb78 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.uniq || [] + (@tags || []).uniq end # Should be set to a url for sites that prevent hotlinking, or left nil for sites that don't.