summaryrefslogtreecommitdiff
path: root/program/steps/mail
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2008-05-08 08:17:35 +0000
committeralecpl <alec@alec.pl>2008-05-08 08:17:35 +0000
commit6153e205162478cda6687f2d326c1821ac3e6dd9 (patch)
treee19f5d6d14381cb6a5b383497341289deef61383 /program/steps/mail
parentf1b75374b2e087145cab5348331596ce3c16e8f6 (diff)
- Option 'use_SQL_address_book' replaced by 'address_book_type'
Diffstat (limited to 'program/steps/mail')
-rw-r--r--program/steps/mail/addcontact.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/mail/addcontact.inc b/program/steps/mail/addcontact.inc
index 6f4187ba4..65682688f 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["use_SQL_address_book"]) {
+ if ($CONFIG['address_book_type'] == 'ldap') {
// Use the first writable LDAP address book.
foreach ($CONFIG["ldap_public"] as $id => $prop) {
if ($prop["writable"]) {