From d4ac7530b634ce58c0023ee025988ccef5b935ca Mon Sep 17 00:00:00 2001 From: snipe Date: Mon, 14 Nov 2022 22:04:06 +0000 Subject: [PATCH] =?UTF-8?q?Removed=20download=20button=20for=20files=20tha?= =?UTF-8?q?t=20don=E2=80=99t=20exist=20on=20the=20server?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: snipe --- resources/views/models/view.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/models/view.blade.php b/resources/views/models/view.blade.php index 445b90b7e8..3b9078d29c 100755 --- a/resources/views/models/view.blade.php +++ b/resources/views/models/view.blade.php @@ -167,7 +167,7 @@ @endif - @if ($file->filename) + @if (($file->filename) && (Storage::exists('private_uploads/assetmodels/'.$file->filename)))