From 93878220b52c1209da08178e1513199d722ae89c Mon Sep 17 00:00:00 2001 From: Pierre Rudloff Date: Fri, 25 Jan 2019 21:16:58 +0100 Subject: [PATCH] fix(playlist): Unset title variable --- templates/playlist.tpl | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/templates/playlist.tpl b/templates/playlist.tpl index 39617a0..84134b1 100644 --- a/templates/playlist.tpl +++ b/templates/playlist.tpl @@ -17,8 +17,12 @@ {/if} {$video->url} {/strip}"> - {if !isset($video->title) and $video->ie_key == YoutubePlaylist} - Playlist + {if !isset($video->title)} + {if $video->ie_key == YoutubePlaylist} + Playlist + {else} + Video + {/if} {else} {$video->title} {/if}