Changeset 7644 for trunk/zpush/backend/expresso/providers
- Timestamp:
- 12/12/12 10:37:14 (12 years ago)
- Location:
- trunk/zpush/backend/expresso/providers
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/zpush/backend/expresso/providers/contactProvider.php
r7633 r7644 169 169 if ($result_contact == FALSE) throw new Exception(pg_last_error($this->db)); 170 170 while ($row_contact = pg_fetch_row($result_contact)) { 171 //if(isset($row_contact[3])) {172 // $message->picture = base64_encode($row_contact[3]);173 //}171 if(isset($row_contact[3]) && $row_contact[3] ) { 172 $message->picture = base64_encode(pg_unescape_bytea( $row_contact[3]) ); 173 } 174 174 if(isset($row_contact[4])) { 175 175 $message->nickname = utf8_encode($row_contact[4]); … … 596 596 597 597 // Incluir/Alterar registro na tabela phpgw_cc_contact no Banco de Dados 598 //if(isset($message->picture)) {599 //$arrayContact["photo"] = base64_decode($message->picture);600 //}598 if(isset($message->picture) && $message->picture) { 599 $arrayContact["photo"] = base64_decode($message->picture); 600 } 601 601 if(isset($message->nickname)) { 602 602 $arrayContact["alias"] = utf8_decode($message->nickname); -
trunk/zpush/backend/expresso/providers/imapProvider.php
r7629 r7644 690 690 $folders = array(); 691 691 692 $list = @imap_getmailboxes($this->mbox, $this->server, " *");692 $list = @imap_getmailboxes($this->mbox, $this->server, "INBOX*"); 693 693 if (is_array($list)) { 694 694 // reverse list to obtain folders in right order
Note: See TracChangeset
for help on using the changeset viewer.