mirror of
https://github.com/snipe/snipe-it.git
synced 2025-02-21 03:15:45 -08:00
Suppress error output if file doesn’t exist on server
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
cca531f8ca
commit
af34fc207c
|
@ -1184,8 +1184,8 @@
|
||||||
<td>
|
<td>
|
||||||
{{ $file->filename }}
|
{{ $file->filename }}
|
||||||
</td>
|
</td>
|
||||||
<td data-value="{{ filesize(storage_path('private_uploads/assets/').$file->filename) }}">
|
<td data-value="{{ @filesize(storage_path('private_uploads/assets/').$file->filename) }}">
|
||||||
{{ Helper::formatFilesizeUnits(filesize(storage_path('private_uploads/assets/').$file->filename)) }}
|
{{ @Helper::formatFilesizeUnits(filesize(storage_path('private_uploads/assets/').$file->filename)) }}
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
@if ($file->note)
|
@if ($file->note)
|
||||||
|
|
Loading…
Reference in a new issue