From 874487c0d89233e7634c233cc02c35eef8149f34 Mon Sep 17 00:00:00 2001 From: fmarier Date: Thu, 19 Jun 2008 02:30:37 +0000 Subject: [PATCH] auth/ldap: fix PHP warnings and remove bad "Choose one" id Merged from MOODLE_19_STABLE --- auth/ldap/config.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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']); ?> -- 2.39.5