Ignore:
Timestamp:
03/13/12 18:18:44 (12 years ago)
Author:
niltonneto
Message:

Ticket #2507 - Corrigido problema do id_contact no método getImagePicture().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sandbox/webservice/api/json-rpc/Catalog.php

    r5712 r5714  
    8888                        // Global Catalog                        
    8989                        elseif($params['contactType'] == 2){ 
    90                                 $photo = $this->getUserLdapPhoto($params['contactID']); 
     90                                $photo = $this->getUserLdapPhoto(urldecode($params['contactID'])); 
    9191                                $contact[] = array( 
    9292                                                'contactID'             => $params['contactID'], 
     
    117117                                        $dn = ldap_get_dn($ds, $entry); 
    118118                                        return array( 
    119                                                 "contactID" => $dn, 
     119                                                "contactID" => urlencode($dn), 
    120120                                                "contactFirstName" => $givenName[0], 
    121121                                                "contactLastName"       => $sn[0], 
Note: See TracChangeset for help on using the changeset viewer.