diff options
| -rw-r--r-- | src/invidious/views/watch.ecr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/invidious/views/watch.ecr b/src/invidious/views/watch.ecr index c23a9552..1fc79495 100644 --- a/src/invidious/views/watch.ecr +++ b/src/invidious/views/watch.ecr @@ -181,7 +181,7 @@ we're going to need to do it here in order to allow for translations. <% end %> </p> <% if video.license %> - <% if video.license == "" %> + <% if video.license.empty? %> <p id="license"><%= translate(locale, "License: ") %><%= translate(locale, "Standard YouTube license") %></p> <% else %> <p id="license"><%= translate(locale, "License: ") %><%= video.license %></p> |
