summaryrefslogtreecommitdiff
path: root/roundcubemail/program/steps/mail
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-05-08 08:22:18 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-05-08 08:22:18 +0000
commit6372b614e722f6c19a06bb6ead03a30c116a4389 (patch)
treeb68a924acc38ff3fe8fb1341d46192953f9261c6 /roundcubemail/program/steps/mail
parent9f0fddc89d094de36db1ee84175aac530e974cce (diff)
- make address_book_type option case insensitive
git-svn-id: https://svn.roundcube.net/trunk@1365 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/steps/mail')
-rw-r--r--roundcubemail/program/steps/mail/addcontact.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/program/steps/mail/addcontact.inc b/roundcubemail/program/steps/mail/addcontact.inc
index 65682688f..aefdd83de 100644
--- a/roundcubemail/program/steps/mail/addcontact.inc
+++ b/roundcubemail/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"]) {