Fix settings icon fetching

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl 2018-07-18 19:06:06 +02:00
parent 9159ed3d76
commit bfc6fc8e50
No known key found for this signature in database
GPG key ID: 4C614C6ED2CDE6DF

View file

@ -80,7 +80,7 @@ class SvgController extends Controller {
if ($app === 'settings') { if ($app === 'settings') {
$path = $this->serverRoot . "/settings/img/$fileName.svg"; $path = $this->serverRoot . "/settings/img/$fileName.svg";
return $this->getSvg($path, $color); return $this->getSvg($path, $color, $fileName);
} }
$appPath = \OC_App::getAppWebPath($app); $appPath = \OC_App::getAppWebPath($app);