diff --git a/resources/views/ticket/show.blade.php b/resources/views/ticket/show.blade.php index 0acacb1..5f80b93 100644 --- a/resources/views/ticket/show.blade.php +++ b/resources/views/ticket/show.blade.php @@ -138,21 +138,21 @@ 'userName' => $ticket->user ? $ticket->user->name : __('Utilisateur supprimé') ]) !!} -@if ($ticket->file !== null || $ticket->file2 !== null) +@if (!is_null($ticket->file) or !is_null($ticket->file2))

{{ __('Pièces jointes') }}