Browse files

auth/ldap: fix PHP warnings and remove bad "Choose one" id

  • Loading branch information...
1 parent 6616311 commit f42d997d980d91625feabf9de134b30967152412 fmarier committed Jun 19, 2008
Showing with 3 additions and 3 deletions.
  1. +3 −3 auth/ldap/config.html
View
6 auth/ldap/config.html
@@ -195,9 +195,9 @@
<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>

0 comments on commit f42d997

Please sign in to comment.