From: fmarier Date: Thu, 19 Jun 2008 02:30:37 +0000 (+0000) Subject: auth/ldap: fix PHP warnings and remove bad "Choose one" id X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=874487c0d89233e7634c233cc02c35eef8149f34;p=moodle.git auth/ldap: fix PHP warnings and remove bad "Choose one" id Merged from MOODLE_19_STABLE --- diff --git a/auth/ldap/config.html b/auth/ldap/config.html index e2b34fb36c..4ea17eba76 100644 --- a/auth/ldap/config.html +++ b/auth/ldap/config.html @@ -195,9 +195,9 @@ if (!function_exists('ldap_connect')) { // Is php4-ldap really there? 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']); ?>