Skip to content

Commit

Permalink
fixed undefined addr
Browse files Browse the repository at this point in the history
  • Loading branch information
pablouser1 committed Aug 21, 2024
1 parent 03002ba commit 3b441c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/components/themes/default.latte
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
{if isset($item->video->playAddr) && $item->video->playAddr !== ""}
<!-- Download links, not shown if item is a gallery -->
<p class="has-text-centered"><b>Download video</b></p>
{include './common/download.latte', id: $item->id, uniqueId: $item->author->uniqueId, playAddr: $item->video->playAddr, downloadAddr: $item->video->downloadAddr}
{include './common/download.latte', id: $item->id, uniqueId: $item->author->uniqueId, playAddr: $item->video->playAddr, downloadAddr: $item->video->downloadAddr ?? $item->video->playAddr}
{/if}
<p class="has-text-centered"><b>Share link</b></p>
{include './common/share.latte', uniqueId: $item->author->uniqueId, id: $item->id}
Expand Down

0 comments on commit 3b441c2

Please sign in to comment.