Extra white space to follow other ifs
Signed-off-by: lui87kw <lukas.ifflaender@uni-wuerzburg.de>
This commit is contained in:
parent
7dafd5831f
commit
3fe3d1fca3
|
@ -374,7 +374,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