From 2538079876a39f8ac2c2cae7d90e146fa52883c9 Mon Sep 17 00:00:00 2001 From: Julius Härtl Date: Thu, 11 Oct 2018 12:04:03 +0200 Subject: 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(-) (limited to 'apps/theming') diff --git a/apps/theming/lib/ThemingDefaults.php b/apps/theming/lib/ThemingDefaults.php index 0573f7b84d7..53198fe2b81 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'); -- cgit v1.2.3