Changeset 3234 for branches/2.2/phpgwapi


Ignore:
Timestamp:
09/13/10 16:21:28 (14 years ago)
Author:
niltonneto
Message:

Ticket #566 - Implementado bloqueio ao editar dados pessoais, conforme ACL.

File:
1 edited

Legend:

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

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