From cac7a59abf2e01f9efb46583b2e50b2385669df9 Mon Sep 17 00:00:00 2001
From: Olav Morken <olav.morken@uninett.no>
Date: Fri, 14 Aug 2009 11:40:31 +0000
Subject: [PATCH] ldap: Allow search.base to be an array.

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

diff --git a/modules/ldap/lib/ConfigHelper.php b/modules/ldap/lib/ConfigHelper.php
index 59e43f455..daf6b3de2 100644
--- a/modules/ldap/lib/ConfigHelper.php
+++ b/modules/ldap/lib/ConfigHelper.php
@@ -99,7 +99,7 @@ class sspmod_ldap_ConfigHelper {
 				$this->searchPassword = $config->getString('search.password');
 			}
 
-			$this->searchBase = $config->getString('search.base');
+			$this->searchBase = $config->getArrayizeString('search.base');
 			$this->searchAttributes = $config->getArray('search.attributes');
 
 		} else {
-- 
GitLab