Changeset 3171


Ignore:
Timestamp:
08/17/10 16:51:13 (14 years ago)
Author:
niltonneto
Message:

Ticket #1099 - Exibindo mais informações no aviso de CPF duplicado.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2/expressoAdmin1_2/inc/class.ldap_functions.inc.php

    r1991 r3171  
    437437                                 
    438438                                        $filter = "(&(phpgwAccountType=u)(cpf=$cpf))"; 
    439                                         $justthese = array("cn","uid"); 
     439                                        $justthese = array("cn","uid","mail"); 
    440440                                        $search = ldap_search($local_ldap_connection, $context, $filter, $justthese); 
    441441                                        $entries = ldap_get_entries($local_ldap_connection,$search); 
     
    449449                                                                        { 
    450450                                                                                if (strcasecmp($uid, $entries[$i]['uid'][0]) != 0) 
    451                                                                                 $entries_text .= "- " . $entries[$i]['cn'][0] . "\n"; 
     451                                                                                        $entries_text .= $entries[$i]['cn'][0] ." - ".$entries[0]['uid'][0] ." - ".$entries[$i]['mail'][0]."\n"; 
    452452                                                                        } 
    453453                                                                if ($this->current_config['expressoAdmin_deny_same_cpf'] == 'false' )  
Note: See TracChangeset for help on using the changeset viewer.