From 42873530e7e4069f64d22753fe3f4c8c6a8138f8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andreas=20=C3=85kre=20Solberg?= <andreas.solberg@uninett.no>
Date: Mon, 19 Jan 2009 20:53:17 +0000
Subject: [PATCH] Fix for handling multiple bases...

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1170 44740490-163a-0410-bde0-09ae8108e29a
---
 lib/SimpleSAML/Auth/LDAP.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/SimpleSAML/Auth/LDAP.php b/lib/SimpleSAML/Auth/LDAP.php
index f2a6b374e..feea4699b 100644
--- a/lib/SimpleSAML/Auth/LDAP.php
+++ b/lib/SimpleSAML/Auth/LDAP.php
@@ -127,7 +127,7 @@ class SimpleSAML_Auth_LDAP {
 				return NULL;
 			} else {
 				throw new Exception('LDAP search returned zero entries: ' . $searchattr . '=' . $searchvalue . ' base(s): ' . 
-					join(',', $searchbase));
+					join(',', $searchbases));
 			}
 		}		
 
-- 
GitLab