fix nil error

This commit is contained in:
Albert Yi
2017-01-16 15:41:46 -08:00
parent ae442c3391
commit 268b7b99ad

View File

@@ -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.