diff --git a/lib/_autoload_modules.php b/lib/_autoload_modules.php index 41ca267a9eb9604a18c4e8817456e2383aaa11df..27c3bc89f35ce2e2fd15c7f7d930b884946712cb 100644 --- a/lib/_autoload_modules.php +++ b/lib/_autoload_modules.php @@ -104,8 +104,8 @@ function sspmodAutoloadPSR0($className) if (!class_exists($className, false) && !interface_exists($className, false)) { // the file exists, but the class is not defined. Is it using namespaces? $nspath = join('\\', $path); - if (class_exists('SimpleSAML\Module\\'.$module.'\\'.$nspath) || - interface_exists('SimpleSAML\Module\\'.$module.'\\'.$nspath) + if (class_exists('SimpleSAML\\Module\\'.$module.'\\'.$nspath) || + interface_exists('SimpleSAML\\Module\\'.$module.'\\'.$nspath) ) { // the class has been migrated, create an alias and warn about it \SimpleSAML\Logger::warning(