Changeset 5691
- Timestamp:
- 03/09/12 16:16:59 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sandbox/webservice/api/json-rpc/Catalog.php
r5687 r5691 30 30 'contactID' => $row['id_contact'], 31 31 '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") : ""), 36 36 '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") : "") 38 38 ); 39 39 }
Note: See TracChangeset
for help on using the changeset viewer.