From 8f04700f0ce57e09c5e7d5cfd2ef5413f8572830 Mon Sep 17 00:00:00 2001
From: Jan Trejbal <jan.trejbal@scalesoft.cz>
Date: Wed, 18 Apr 2018 15:34:50 +0200
Subject: [PATCH] Fix string assert

---
 modules/core/lib/Auth/UserPassBase.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/core/lib/Auth/UserPassBase.php b/modules/core/lib/Auth/UserPassBase.php
index bc05f6196..474d0a03b 100644
--- a/modules/core/lib/Auth/UserPassBase.php
+++ b/modules/core/lib/Auth/UserPassBase.php
@@ -196,7 +196,7 @@ abstract class sspmod_core_Auth_UserPassBase extends SimpleSAML_Auth_Source {
 	      }
 
 	      $attributes = $this->login($username, $password);
-	      assert('is_array($attributes)');
+	      assert(is_array($attributes));
 	      $state['Attributes'] = $attributes;
 
 	      return;
-- 
GitLab