MDL-15398 reverting previous incorrect patch

This commit is contained in:
skodak
2008-06-24 22:10:30 +00:00
parent 57eb939ee4
commit 31693d6fe7
+3 -3
View File
@@ -195,9 +195,9 @@ if (!function_exists('ldap_connect')) { // Is php4-ldap really there?
<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, '');
$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, '');
if (isset($err['opt_deref'])) formerr($err['opt_deref']);
?>
</td>