diff --git a/resources/views/partials/checkins-list.blade.php b/resources/views/partials/checkins-list.blade.php index b32cd1a..6cb08bd 100644 --- a/resources/views/partials/checkins-list.blade.php +++ b/resources/views/partials/checkins-list.blade.php @@ -6,13 +6,13 @@

{!! render_date_difference($checkin->date) !!}

@if($checkin->note) - @if(preg_match("/\[\[[^\]]+\]\]/", $checkin->note, $filepath) - @if(preg_match("/\.webm/", $filepath) + @if(preg_match("/\[\[[^\]]+\]\]/", $checkin->note, $filepath)) + @if(preg_match("/\.webm/", $filepath)) - @elseif(preg_match("/\.ogg/", $filepath) + @elseif(preg_match("/\.ogg/", $filepath))