Annoying and pointless
authorDaniel Rudolf <rudolf@eifel-online.com>
Sat, 9 Feb 2013 10:41:42 +0000 (11:41 +0100)
committerDaniel Rudolf <rudolf@eifel-online.com>
Sat, 9 Feb 2013 10:41:42 +0000 (11:41 +0100)
wcfsetup/install/files/lib/system/WCF.class.php

index 0d82380691dba023c9be3248014a679316c7fc54..57273bfa9599f7edc4f61b7a732e1c762c1326ab 100644 (file)
@@ -534,7 +534,7 @@ class WCF {
                $namespaces = explode('\\', $className);
                if (count($namespaces) > 1) {
                        $applicationPrefix = array_shift($namespaces);
-                       if($applicationPrefix === '') {
+                       if ($applicationPrefix === '') {
                                $applicationPrefix = array_shift($namespaces);
                        }
                        if (isset(self::$autoloadDirectories[$applicationPrefix])) {