From 2538079876a39f8ac2c2cae7d90e146fa52883c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Thu, 11 Oct 2018 12:04:03 +0200 Subject: [PATCH] Use default favicon on sharing pages MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- apps/theming/lib/ThemingDefaults.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/theming/lib/ThemingDefaults.php b/apps/theming/lib/ThemingDefaults.php index 0573f7b84d..53198fe2b8 100644 --- a/apps/theming/lib/ThemingDefaults.php +++ b/apps/theming/lib/ThemingDefaults.php @@ -308,7 +308,7 @@ class ThemingDefaults extends \OC_Defaults { * @return bool|string false if image should not replaced, otherwise the location of the image */ public function replaceImagePath($app, $image) { - if($app==='') { + if ($app === '' || $app === 'files_sharing') { $app = 'core'; } $cacheBusterValue = $this->config->getAppValue('theming', 'cachebuster', '0');