From 68d5d00336fba63e4e57631688f8158b1e5d5cf2 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Sun, 6 Nov 2016 18:45:48 +0100 Subject: [PATCH] Fix code style --- .../files/lib/system/application/ApplicationHandler.class.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/system/application/ApplicationHandler.class.php b/wcfsetup/install/files/lib/system/application/ApplicationHandler.class.php index 4545da964d..614a102c83 100644 --- a/wcfsetup/install/files/lib/system/application/ApplicationHandler.class.php +++ b/wcfsetup/install/files/lib/system/application/ApplicationHandler.class.php @@ -66,7 +66,8 @@ class ApplicationHandler extends SingletonFactory { * @since 3.0 */ public function getApplicationByID($packageID) { - if ($packageID == 1 && !isset($this->cache['application'][1])) {// work-around for update from 2.1 (out-dated cache) + // work-around for update from 2.1 (out-dated cache) + if ($packageID == 1 && !isset($this->cache['application'][1])) { $this->cache['application'][1] = new Application(1); } if (isset($this->cache['application'][$packageID])) { -- 2.20.1