Ignore:
Timestamp:
11/04/10 11:05:39 (13 years ago)
Author:
eduardoalex
Message:

Ticket #1204 - Adicionado data de nascimento nas preferencias do usuario

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2/phpgwapi/inc/class.accounts_ldap.inc.php

    r3299 r3456  
    6363                        { 
    6464                                /* jakjr: using justthese with ldap_search */ 
    65                                 $justthese = array("uidnumber", "gidnumber", "uid", "cn", "givenname", "sn", "mail", "phpgwaccountstatus", "phpgwaccountexpires", "phpgwaccounttype", "phpgwlastpasswdchange","phpgwagreeterm","telephonenumber","mobile","homephone"); 
     65                                $justthese = array("uidnumber", "gidnumber", "uid", "cn", "givenname", "sn", "mail", "phpgwaccountstatus", "phpgwaccountexpires", "phpgwaccounttype", "phpgwlastpasswdchange","phpgwagreeterm","telephonenumber","mobile","homephone","datanascimento"); 
    6666                                $sri = @ldap_search($this->ds, $this->user_context, ("(&(uidnumber=" . (int)$this->account_id.")(phpgwaccounttype=u))"), $justthese); 
    6767                        } 
     
    9191                                $this->data['telephonenumber']   = $allValues[0]['telephonenumber'][0]; 
    9292                                $this->data['mobile']   = $allValues[0]['mobile'][0]; 
    93                                 $this->data['homephone']   = $allValues[0]['homephone'][0];                              
     93                                $this->data['homephone']   = $allValues[0]['homephone'][0]; 
     94                                $this->data['datanascimento']   = $allValues[0]['datanascimento'][0];                    
    9495                                /* jakjr: this is not used for expressoLivre */ 
    9596                                /* 
Note: See TracChangeset for help on using the changeset viewer.