From 44ff28511685b01e726e27eef3e739d1a9dac027 Mon Sep 17 00:00:00 2001
From: zupert <thomas.descourieres@gmail.com>
Date: Mon, 4 Aug 2014 11:52:37 +0200
Subject: [PATCH] Fix undefined variable name

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

diff --git a/modules/aselect/lib/Auth/Source/aselect.php b/modules/aselect/lib/Auth/Source/aselect.php
index c503361e1..874b5ca72 100644
--- a/modules/aselect/lib/Auth/Source/aselect.php
+++ b/modules/aselect/lib/Auth/Source/aselect.php
@@ -150,7 +150,7 @@ class sspmod_aselect_Auth_Source_aselect extends SimpleSAML_Auth_Source {
 		curl_close($curl);
 
 		if($str === false)
-			throw new SimpleSAML_Error_Exception("Unable to retrieve URL: $error");
+			throw new SimpleSAML_Error_Exception("Unable to retrieve URL: $err");
 
 		parse_str($str, $res);
 
-- 
GitLab