diff --git a/resources/views/partials/checkins-list.blade.php b/resources/views/partials/checkins-list.blade.php index 6cb08bd..2bb5b85 100644 --- a/resources/views/partials/checkins-list.blade.php +++ b/resources/views/partials/checkins-list.blade.php @@ -7,15 +7,15 @@ @if($checkin->note) @if(preg_match("/\[\[[^\]]+\]\]/", $checkin->note, $filepath)) - @if(preg_match("/\.webm/", $filepath)) + @if(preg_match("/\.webm/", $filepath[0])) - @elseif(preg_match("/\.ogg/", $filepath)) + @elseif(preg_match("/\.ogg/", $filepath[0])) @endif @else