diff options
author | alecpl <alec@alec.pl> | 2008-05-08 08:22:18 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2008-05-08 08:22:18 +0000 |
commit | ed5ed98bea879a801c11c66589395452b9b8087b (patch) | |
tree | 57ad9c5bcb957e25cd3ccd4114fe891cd5b11c8c /program/steps/mail | |
parent | 6153e205162478cda6687f2d326c1821ac3e6dd9 (diff) |
- make address_book_type option case insensitive
Diffstat (limited to 'program/steps/mail')
-rw-r--r-- | program/steps/mail/addcontact.inc | 2 |
1 files changed, 1 insertions, 1 deletions
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"]) { |