diff --git a/lib/philomena_web/views/image_view.ex b/lib/philomena_web/views/image_view.ex index 2faafb80..335b7e72 100644 --- a/lib/philomena_web/views/image_view.ex +++ b/lib/philomena_web/views/image_view.ex @@ -154,7 +154,7 @@ defmodule PhilomenaWeb.ImageView do defp image_filter_data(image) do %{ id: image.id, - "namespaced_tags.name": String.split(image.tag_list_plus_alias_cache, ", "), + "namespaced_tags.name": String.split(image.tag_list_plus_alias_cache || "", ", "), score: image.score, faves: image.faves_count, upvotes: image.upvotes_count,