alecpl
2008-06-25 3dc20a0d4e88f454440b1bf1ac4a27e150c69b72
#1485161


1 files modified
6 ■■■■■ changed files
program/steps/addressbook/func.inc 6 ●●●●● patch | view | raw | blame | history
program/steps/addressbook/func.inc
@@ -53,8 +53,10 @@
  // We are using the DB address book, add it.
  $js_list = array("0" => array('id' => 0, 'readonly' => false));
} // end if
foreach ((array)$CONFIG['ldap_public'] as $id => $prop)
  $js_list[$id] = array('id' => $id, 'readonly' => !$prop['writable']);
else if (!empty($CONFIG['ldap_public'])) {
  foreach ($CONFIG['ldap_public'] as $id => $prop)
    $js_list[$id] = array('id' => $id, 'readonly' => !$prop['writable']);
}
$OUTPUT->set_env('address_sources', $js_list);