Ignore:
Timestamp:
10/28/10 11:35:56 (13 years ago)
Author:
rafaelraymundo
Message:

Ticket #1332 - Imagens quebradas no IE após o envio.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2/expressoMail1_2/inc/class.imap_functions.inc.php

    r3414 r3427  
    499499                $return = array(); 
    500500                $msg_number = $params['msg_number']; 
    501                 if(preg_match('(.+)(_[a-zA-Z0-9]+)',$msg_number,$matches)) { //Verifies if it comes from a tab diferent of the main one. 
     501                if(@preg_match('(.+)(_[a-zA-Z0-9]+)',$msg_number,$matches)) { //Verifies if it comes from a tab diferent of the main one. 
    502502                        $msg_number = $matches[1]; 
    503503                        $plus_id = $matches[2]; 
     
    16141614                $return['quota'] = $this->get_quota(array('folder_id' => $folder)); 
    16151615                $return['sort_box_type'] = $params['sort_box_type']; 
     1616                if(!$this->mbox || !is_resource($this->mbox)) 
     1617                { 
     1618                    $this->open_mbox($folder); 
     1619                } 
    16161620                $return['new_msgs'] = imap_num_recent($this->mbox); 
    16171621                $return['msgs_to_delete'] = $msg_to_delete; 
Note: See TracChangeset for help on using the changeset viewer.