From 619e888c83b60ce58b422d7d50732682195f6c94 Mon Sep 17 00:00:00 2001 From: Jaime Perez Crespo <jaime.perez@uninett.no> Date: Tue, 29 Mar 2016 11:34:08 +0200 Subject: [PATCH] Bugfix. --- lib/_autoload_modules.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/_autoload_modules.php b/lib/_autoload_modules.php index 0903896ba..cf7e051b6 100644 --- a/lib/_autoload_modules.php +++ b/lib/_autoload_modules.php @@ -37,7 +37,7 @@ function temporaryLoader($class) // it didn't exist, try to see if it was migrated to namespaces $new = join('\\', $path); - if (class_exists($new, false) || interface_exists($class, false)) { + if (class_exists($new, false) || interface_exists($new, false)) { // do not try to autoload it if it doesn't exist! It should! class_alias($new, $class); SimpleSAML\Logger::warning("The class or interface '$class' is now using namespaces, please use '$new'."); -- GitLab