From 4b309871ec811c0d10464b27a36268422aa4d8d4 Mon Sep 17 00:00:00 2001 From: Deon George Date: Thu, 24 Oct 2024 15:37:41 +1100 Subject: [PATCH] Sometimes files come in without descriptions --- resources/views/filearea/addedit.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/filearea/addedit.blade.php b/resources/views/filearea/addedit.blade.php index 31050a3..924c8e3 100644 --- a/resources/views/filearea/addedit.blade.php +++ b/resources/views/filearea/addedit.blade.php @@ -178,7 +178,7 @@ {{ $oo->name }} {{ number_format($oo->size) }} {{ $oo->datetime->format('Y-m-d H:i:s') }} - {!! Message::tr($oo->desc) !!} + {!! Message::tr($oo->desc ?: '') !!} @endforeach