From 629da5f357fe1530210e9674ce3274f005bac398 Mon Sep 17 00:00:00 2001 From: Pablo Ferreiro Date: Mon, 12 Jun 2023 15:20:51 +0200 Subject: [PATCH] Fixed more crashing issues --- templates/components/themes/default.latte | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/components/themes/default.latte b/templates/components/themes/default.latte index 72e9a36..a347189 100644 --- a/templates/components/themes/default.latte +++ b/templates/components/themes/default.latte @@ -34,9 +34,9 @@
{embed '../details.latte', title: "Details"} {block content} -

Can duet: {bool_to_str($item->duetEnabled)}

-

Can stitch (add this video to other ones): {bool_to_str($item->stitchEnabled)}

-

Can be shared: {bool_to_str($item->shareEnabled)} +

Can duet: {bool_to_str(isset($item->duetEnabled) ? $item->duetEnabled : boolval($item->duetDisplay))}

+

Can stitch (add this video to other ones): {bool_to_str(isset($item->stitchEnabled) ? $item->stitchEnabled : boolval($item->stitchDisplay))}

+

Can be shared: {bool_to_str(isset($item->shareEnabled) ? $item->shareEnabled : boolval($item->shareDisplay))} {/block} {/embed}