From b6df1c45aa22d57d834a3cba4e31689fbcd2b2d2 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 19:16:23 +0000
Subject: [PATCH] Allow enable_tls == false

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

diff --git a/modules/ldapstatus/www/index.php b/modules/ldapstatus/www/index.php
index f92a08cde..f48e94bb1 100644
--- a/modules/ldapstatus/www/index.php
+++ b/modules/ldapstatus/www/index.php
@@ -41,7 +41,7 @@ function checkConfig($conf, $req) {
 	foreach($req AS $r) {
 		if (!array_key_exists($r, $conf)) {
 			$err[] = $r;
-		} elseif (empty($conf[$r])) {
+		} elseif (empty($conf[$r]) && $conf[$r] !== FALSE) {
 			$err[] = 'empty:' . $r;
 		}
 	}
-- 
GitLab