Fix code style
authorMatthias Schmidt <gravatronics@live.com>
Sun, 6 Nov 2016 17:45:48 +0000 (18:45 +0100)
committerMatthias Schmidt <gravatronics@live.com>
Sun, 6 Nov 2016 17:45:48 +0000 (18:45 +0100)
wcfsetup/install/files/lib/system/application/ApplicationHandler.class.php

index 4545da964d1e11c2e9ab4b1ebaca4c988fe181ac..614a102c83c9fbdee70f061ae8ed501ec6ea1754 100644 (file)
@@ -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])) {