till
2008-02-01 148e7bdf24c8623e60f6d857f7557d3932dca85b
* added an additional check so not everyone "attempts" ldap search if this is not configured (compose.patch did not contain this)

1 files modified
6 ■■■■ changed files
program/steps/mail/compose.inc 6 ●●●● patch | view | raw | blame | history
program/steps/mail/compose.inc
@@ -883,7 +883,8 @@
    if ($sql_arr['email'])
      $a_contacts[] = format_email_recipient($sql_arr['email'], JQ($sql_arr['name']));
}
if (isset($CONFIG['ldap_public'])) {
  {
/* LDAP autocompletion */ 
foreach ($CONFIG['ldap_public'] as $ldapserv_config) 
  { 
@@ -911,11 +912,10 @@
          
  $LDAP->close(); 
  } 
  }
  if ($a_contacts) 
     { 
     $OUTPUT->set_env('contacts', $a_contacts); 
     } 
parse_template('compose');
?>