From 3b010a518cb35d986bb2e6d02a0b264d6620fabb Mon Sep 17 00:00:00 2001
From: Jan-Hendrik Willms <tleilax+studip@gmail.com>
Date: Wed, 11 Sep 2024 07:11:33 +0000
Subject: [PATCH] Apply 1 suggestion(s) to 1 file(s)

---
 lib/classes/auth_plugins/StudipAuthSimpleSamlPHP.php | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/lib/classes/auth_plugins/StudipAuthSimpleSamlPHP.php b/lib/classes/auth_plugins/StudipAuthSimpleSamlPHP.php
index a95d0cabe66..439b7c85c3b 100644
--- a/lib/classes/auth_plugins/StudipAuthSimpleSamlPHP.php
+++ b/lib/classes/auth_plugins/StudipAuthSimpleSamlPHP.php
@@ -28,10 +28,10 @@ class StudipAuthSimpleSamlPHP extends StudipAuthSSO
     {
         parent::__construct($config);
 
-        if(!isset($this->path_to_simple_saml_php)){
-            require_once('/var/simplesamlphp/src/_autoload.php');
+        if (empty($this->path_to_simple_saml_php)) {
+            require_once '/var/simplesamlphp/src/_autoload.php';
         }else{
-            require_once($this->path_to_simple_saml_php );
+            require_once $this->path_to_simple_saml_php;
         }
 
         if (!isset($this->plugin_fullname)) {
-- 
GitLab