]> source.dussan.org Git - nextcloud-server.git/commitdiff
Extra white space to follow other ifs 21844/head
authorlui87kw <lukas.ifflaender@uni-wuerzburg.de>
Tue, 14 Jul 2020 21:36:23 +0000 (23:36 +0200)
committerlui87kw <lukas.ifflaender@uni-wuerzburg.de>
Wed, 15 Jul 2020 08:18:47 +0000 (10:18 +0200)
Signed-off-by: lui87kw <lukas.ifflaender@uni-wuerzburg.de>
lib/private/Files/Type/Detection.php

index 34caf072d98c393570b1ff60db246629ea910caa..bfca6dabd2f0e0e1b2983f7375dac2d525d431a4 100644 (file)
@@ -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');