Extra white space to follow other ifs
Signed-off-by: lui87kw <lukas.ifflaender@uni-wuerzburg.de>
This commit is contained in:
parent
43e401e3a2
commit
aecf4eff27
|
@ -380,7 +380,7 @@ class Detection implements IMimeTypeDetector {
|
||||||
|
|
||||||
// Try only the first part of the filetype
|
// Try only the first part of the filetype
|
||||||
|
|
||||||
if(strpos($icon, '-')) {
|
if (strpos($icon, '-')) {
|
||||||
$mimePart = substr($icon, 0, strpos($icon, '-'));
|
$mimePart = substr($icon, 0, strpos($icon, '-'));
|
||||||
try {
|
try {
|
||||||
$this->mimetypeIcons[$mimetype] = $this->urlGenerator->imagePath('core', 'filetypes/' . $mimePart . '.svg');
|
$this->mimetypeIcons[$mimetype] = $this->urlGenerator->imagePath('core', 'filetypes/' . $mimePart . '.svg');
|
||||||
|
|
Loading…
Reference in New Issue