From 32a6be8531cecf86be0de17cf5e2659c3547cbb3 Mon Sep 17 00:00:00 2001
From: Tim van Dijen <tvdijen@gmail.com>
Date: Thu, 31 May 2018 20:15:28 +0200
Subject: [PATCH] Another syntax fix

Murphy hit me in the face
---
 lib/_autoload.php | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/lib/_autoload.php b/lib/_autoload.php
index 7548e5852..d613a5e95 100644
--- a/lib/_autoload.php
+++ b/lib/_autoload.php
@@ -10,12 +10,12 @@
 
 // SSP is loaded as a separate project
 $libpath = \SimpleSAML\Utils\System::resolvePath(dirname(dirname(__FILE__)).'/vendor/autoload.php');
-if (file_exists($libpath) {
-    require_once $libpath;
+if (file_exists($libpath)) {
+    require_once($libpath);
 } else {  // SSP is loaded as a library
     $libpath = \SimpleSAML\Utils\System::resolvePath(dirname(dirname(__FILE__)).'/../../autoload.php');
-    if (file_exists($libpath) {
-        require_once $libpath;
+    if (file_exists($libpath)) {
+        require_once($libpath);
     } else {
         throw new Exception('Unable to load Composer autoloader');
     }
-- 
GitLab