summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2018-10-12 10:30:21 +0200
committerGitHub <noreply@github.com>2018-10-12 10:30:21 +0200
commitb5753d0efab9392d8e7349aadbec530dbd169a74 (patch)
treed87716df8e87cc1491dfe189f1ef5e96fac58d53 /apps
parent0afb0381e55218494792144ee33cdd59146b128c (diff)
parent2538079876a39f8ac2c2cae7d90e146fa52883c9 (diff)
downloadnextcloud-server-b5753d0efab9392d8e7349aadbec530dbd169a74.tar.gz
nextcloud-server-b5753d0efab9392d8e7349aadbec530dbd169a74.zip
Merge pull request #11759 from nextcloud/feature/11504/sharing-favicon
Use default favicon on sharing pages
Diffstat (limited to 'apps')
-rw-r--r--apps/theming/lib/ThemingDefaults.php2
1 files changed, 1 insertions, 1 deletions
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');