Skip to content

Commit

Permalink
auth/ldap: fix PHP warnings and remove bad "Choose one" id
Browse files Browse the repository at this point in the history
  • Loading branch information
fmarier committed Jun 19, 2008
1 parent 6616311 commit f42d997
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions auth/ldap/config.html
Original file line number Diff line number Diff line change
Expand Up @@ -195,9 +195,9 @@ <h4><?php print_string('auth_ldap_user_settings', 'auth') ?> </h4>
<td>
<?php
$opt_deref = array();
$opt_deref[LDAP_DEREF_NEVER] = get_string('no');
$opt_deref[LDAP_DEREF_ALWAYS] = get_string('yes');
choose_from_menu($opt_deref, 'opt_deref', $config->opt_deref, LDAP_DEREF_NEVER, '');
$opt_deref['LDAP_DEREF_NEVER'] = get_string('no');
$opt_deref['LDAP_DEREF_ALWAYS'] = get_string('yes');
choose_from_menu($opt_deref, 'opt_deref', $config->opt_deref, '');
if (isset($err['opt_deref'])) formerr($err['opt_deref']);
?>
</td>
Expand Down

0 comments on commit f42d997

Please sign in to comment.