From ebed2cea8842b58651a4f9397f1072caf2587273 Mon Sep 17 00:00:00 2001 From: Pierre Rudloff Date: Sun, 21 Apr 2019 22:19:44 +0200 Subject: [PATCH] refactor: Avoid varible name conflict --- templates/playlist.tpl | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/templates/playlist.tpl b/templates/playlist.tpl index 84134b1..bd70a6a 100644 --- a/templates/playlist.tpl +++ b/templates/playlist.tpl @@ -9,26 +9,26 @@ {if $config->stream} webpage_url}" class="downloadBtn">Download everything {/if} -{foreach $video->entries as $video} +{foreach $video->entries as $entry}

- {if !isset($video->title)} - {if $video->ie_key == YoutubePlaylist} + {if !isset($entry->title)} + {if $entry->ie_key == YoutubePlaylist} Playlist {else} Video {/if} {else} - {$video->title} + {$entry->title} {/if}

- url}">{t}Download{/t} - url}">{t}More options{/t} + url}">{t}Download{/t} + url}">{t}More options{/t}
{/foreach}