diff --git a/resources/views/users/view.blade.php b/resources/views/users/view.blade.php
index 223d525f1d..7821b87402 100755
--- a/resources/views/users/view.blade.php
+++ b/resources/views/users/view.blade.php
@@ -1009,13 +1009,17 @@
@foreach ($user->uploads as $file)
-
- {{ Helper::filetype_icon($file->filename) }}
+ @if (Storage::exists('private_uploads/users/'.$file->filename))
+
+ {{ Helper::filetype_icon($file->filename) }}
+ @endif
|
@if (($file->filename) && (Storage::exists('private_uploads/users/'.$file->filename)))
@if (Helper::checkUploadIsImage($file->get_src('users')))
-
+
+
+
@else
{{ trans('general.preview_not_available') }}
@endif
@@ -1044,7 +1048,7 @@
{{ trans('general.download') }}
-
+
@endif
|