mirror of
https://github.com/nextcloud/server.git
synced 2026-04-21 22:27:31 -04:00
Merge pull request #16663 from JakubOnderka/patch-2
files_trashbin: File can be without extension
This commit is contained in:
commit
d013ff6cae
1 changed files with 1 additions and 1 deletions
|
|
@ -103,7 +103,7 @@ class PreviewController extends Controller {
|
|||
}
|
||||
|
||||
$pathParts = pathinfo($file->getName());
|
||||
$extension = $pathParts['extension'];
|
||||
$extension = $pathParts['extension'] ?? '';
|
||||
$fileName = $pathParts['filename'];
|
||||
/*
|
||||
* Files in the root of the trashbin are timetamped.
|
||||
|
|
|
|||
Loading…
Reference in a new issue