From 097eb75a7a200a73c1f77a38f09120bfc501d09a Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Tue, 27 Jun 2017 10:03:07 +0200 Subject: [PATCH] Fixed application check for favicon output --- wcfsetup/install/files/lib/system/WCF.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wcfsetup/install/files/lib/system/WCF.class.php b/wcfsetup/install/files/lib/system/WCF.class.php index 4e0a91e3e2..8b9100459d 100644 --- a/wcfsetup/install/files/lib/system/WCF.class.php +++ b/wcfsetup/install/files/lib/system/WCF.class.php @@ -858,9 +858,9 @@ class WCF { */ public function getFavicon() { $activeApplication = ApplicationHandler::getInstance()->getActiveApplication(); - $primaryApplication = ApplicationHandler::getInstance()->getPrimaryApplication(); + $wcf = ApplicationHandler::getInstance()->getWCF(); - if ($activeApplication->domainName != $primaryApplication->domainName) { + if ($activeApplication->domainName !== $wcf->domainName) { if (file_exists(WCF_DIR.'images/favicon.ico')) { $favicon = file_get_contents(WCF_DIR.'images/favicon.ico'); -- 2.20.1