diff options
-rw-r--r-- | lib/private/Files/Type/Detection.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Files/Type/Detection.php b/lib/private/Files/Type/Detection.php index 34caf072d98..bfca6dabd2f 100644 --- a/lib/private/Files/Type/Detection.php +++ b/lib/private/Files/Type/Detection.php @@ -374,7 +374,7 @@ class Detection implements IMimeTypeDetector { // 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'); |