Always list all address sources

release-0.6
thomascube 16 years ago
parent 5a185a84a5
commit e1eafd03a2

@ -43,8 +43,8 @@ $js_list = array();
if (strtolower($CONFIG['address_book_type']) != 'ldap') {
// We are using the DB address book, add it.
$js_list = array("0" => array('id' => 0, 'readonly' => false));
} // end if
else if (!empty($CONFIG['ldap_public'])) {
}
if (is_array($CONFIG['ldap_public'])) {
foreach ($CONFIG['ldap_public'] as $id => $prop)
$js_list[$id] = array('id' => $id, 'readonly' => !$prop['writable']);
}

Loading…
Cancel
Save