commit 623a94d4343a8c29a60494a7ebb8ea7e4b38662a
parent 23831c3c3d4b87afa1126ea21a68719b84506fad
Author: St John Karp <stjohn@fuzzjunket.com>
Date: Sat, 16 Mar 2019 09:42:12 +0000
Merge branch 'master' of https://github.com/FuzzJunket/planiverse
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/resources/views/status.blade.php b/resources/views/status.blade.php
@@ -34,7 +34,7 @@
<!-- Reblog -->
<span title="Reblog">
- @if ($status['reblogged'])
+ @if (isset($status['reblogged']) && $status['reblogged'])
<span class="reblogged">
<a href="{{ route('unreblog', ['status_id' => $status['id']]) }}">↺</a>
</span>
@@ -46,7 +46,7 @@
<!-- Favourite -->
<span title="Favourite">
- @if ($status['favourited'])
+ @if (isset($status['favourited']) && $status['favourited'])
<span class="favourited">
<a href="{{ route('unfavourite', ['status_id' => $status['id']]) }}">★</a>
</span>