From ed5ed98bea879a801c11c66589395452b9b8087b Mon Sep 17 00:00:00 2001 From: alecpl Date: Thu, 8 May 2008 08:22:18 +0000 Subject: - make address_book_type option case insensitive --- program/steps/mail/addcontact.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'program/steps/mail') diff --git a/program/steps/mail/addcontact.inc b/program/steps/mail/addcontact.inc index 65682688f..aefdd83de 100644 --- a/program/steps/mail/addcontact.inc +++ b/program/steps/mail/addcontact.inc @@ -24,7 +24,7 @@ $done = false; if (!empty($_POST['_address'])) { $CONTACTS = array(); - if ($CONFIG['address_book_type'] == 'ldap') { + if (strtolower($CONFIG['address_book_type']) == 'ldap') { // Use the first writable LDAP address book. foreach ($CONFIG["ldap_public"] as $id => $prop) { if ($prop["writable"]) { -- cgit v1.2.3