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');