Ignore:
Timestamp:
06/14/12 17:16:51 (12 years ago)
Author:
niltonneto
Message:

Ticket #2507 - Corrigido valor de retorno para string no array do anexo.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sandbox/webservice/api/adapters/MailAdapter.php

    r6497 r6499  
    157157                        foreach($info_msg['attachments'] as $i => $attachment){ 
    158158                                $msg['msgAttachments'][] = array ( 
    159                                         'attachmentID'                  => "{$attachment['pid']}", 
    160                                         'attachmentIndex'               => "$i", 
     159                                        'attachmentID'                  => "".$attachment['pid'], 
     160                                        'attachmentIndex'               => "".$i, 
    161161                                        'attachmentName'                => $attachment['name'], 
    162                                         'attachmentSize'                => $attachment['fsize'], 
     162                                        'attachmentSize'                => "".$attachment['fsize'], 
    163163                                        'attachmentEncoding'    => $attachment['encoding'] 
    164164                                ); 
Note: See TracChangeset for help on using the changeset viewer.