Replace == with empty?

This commit is contained in:
techmetx11 authored and Samantaz Fox committed 2023-02-26 14:01:08 +01:00
1 parent 8eca5b270e
commit 4ac263f1df
1 file changed
+1 -1
+1 -1
View File
@@ -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>