wrapped in curly braces
authorDaniel Rudolf <rudolf@eifel-online.com>
Sat, 9 Feb 2013 02:50:51 +0000 (03:50 +0100)
committerDaniel Rudolf <rudolf@eifel-online.com>
Sat, 9 Feb 2013 02:50:51 +0000 (03:50 +0100)
wcfsetup/install/files/lib/system/WCF.class.php

index eba5af5ef1614b92197f668c0aed31b18f8b778a..0d82380691dba023c9be3248014a679316c7fc54 100644 (file)
@@ -534,8 +534,9 @@ 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])) {
                                $classPath = self::$autoloadDirectories[$applicationPrefix] . implode('/', $namespaces) . '.class.php';
                                if (file_exists($classPath)) {