From 4ac263f1dfdc18e5de584d4fb8bbfd74141e2716 Mon Sep 17 00:00:00 2001
From: techmetx11
Date: Sun, 15 Jan 2023 16:26:51 +0100
Subject: [PATCH] Replace == with empty?
---
src/invidious/views/watch.ecr | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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 %>
<% if video.license %>
- <% if video.license == "" %>
+ <% if video.license.empty? %>
<%= translate(locale, "License: ") %><%= translate(locale, "Standard YouTube license") %>
<% else %>
<%= translate(locale, "License: ") %><%= video.license %>