Changeset 5691


Ignore:
Timestamp:
03/09/12 16:16:59 (12 years ago)
Author:
niltonneto
Message:

Ticket #2507 - Corrigido getUserContacts() problema de acentuação.

File:
1 edited

Legend:

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

    r5687 r5691  
    3030                                                'contactID'             => $row['id_contact'], 
    3131                                                'MailAddress'   => array($row['connection_value']), 
    32                                                 'AliasName'             => ($row['alias'] != null ? $row['alias'] : ""), 
    33                                                 'FirstName'             => ($row['given_names'] != null ? $row['given_names'] : ""), 
    34                                                 'LastName'              => ($row['family_names'] != null ? $row['family_names'] : ""), 
    35                                                 'FullName'              => ($row['names_ordered'] != null ? $row['names_ordered'] : ""), 
     32                                                'AliasName'             => ($row['alias'] != null ?  mb_convert_encoding($row['alias'],"UTF8", "ISO_8859-1") : ""), 
     33                                                'FirstName'             => ($row['given_names'] != null ?  mb_convert_encoding($row['given_names'],"UTF8", "ISO_8859-1") : ""), 
     34                                                'LastName'              => ($row['family_names'] != null ?  mb_convert_encoding($row['family_names'],"UTF8", "ISO_8859-1") : ""), 
     35                                                'FullName'              => ($row['names_ordered'] != null ? mb_convert_encoding($row['names_ordered'],"UTF8", "ISO_8859-1") : ""), 
    3636                                                'BirthDate'             => ($row['birthdate'] != null ? $row['birthdate'] : ""), 
    37                                                 'Notes'                 => ($row['notes'] != null ? $row['notes'] : "")                          
     37                                                'Notes'                 => ($row['notes'] != null ?  mb_convert_encoding($row['notes'],"UTF8", "ISO_8859-1") : "")                               
    3838                                        ); 
    3939                                }                                
Note: See TracChangeset for help on using the changeset viewer.