Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Extra white space to follow other ifs
Signed-off-by: lui87kw <[email protected]>
  • Loading branch information
bladewing committed Jul 15, 2020
commit 3fe3d1fca32a033692201705bb59992f140e8799
2 changes: 1 addition & 1 deletion lib/private/Files/Type/Detection.php
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ public function mimeTypeIcon($mimetype): string {

// Try only the first part of the filetype

if(strpos($icon, '-')) {
if (strpos($icon, '-')) {
$mimePart = substr($icon, 0, strpos($icon, '-'));
try {
$this->mimetypeIcons[$mimetype] = $this->urlGenerator->imagePath('core', 'filetypes/' . $mimePart . '.svg');
Expand Down