Permalink
Browse files

auth ldap/cas config: MDL-21343 LDAP / CAS settings broken due to wro…

…ng superflous value
  • Loading branch information...
1 parent 4f42e46 commit 75a7a7e41528ffee03c5cc6a429120f6a390babd @iarenaza iarenaza committed Jan 21, 2010
Showing with 2 additions and 2 deletions.
  1. +1 −1 auth/cas/config.html
  2. +1 −1 auth/ldap/config.html
View
@@ -601,7 +601,7 @@
$opt_deref[LDAP_DEREF_ALWAYS] = get_string('yes');
- echo html_writer::select($opt_deref, 'opt_deref', $config->opt_deref, LDAP_DEREF_NEVER, false);
+ echo html_writer::select($opt_deref, 'opt_deref', $config->opt_deref, false);
if (isset($err['opt_deref'])) echo $OUTPUT->error_text($err['opt_deref']);
View
@@ -199,7 +199,7 @@
$opt_deref = array();
$opt_deref[LDAP_DEREF_NEVER] = get_string('no');
$opt_deref[LDAP_DEREF_ALWAYS] = get_string('yes');
- echo html_writer::select($opt_deref, 'opt_deref', $config->opt_deref, LDAP_DEREF_NEVER, false);
+ echo html_writer::select($opt_deref, 'opt_deref', $config->opt_deref, false);
if (isset($err['opt_deref'])) echo $OUTPUT->error_text($err['opt_deref']);
?>
</td>

0 comments on commit 75a7a7e

Please sign in to comment.