Changeset 6580


Ignore:
Timestamp:
06/22/12 16:20:14 (12 years ago)
Author:
acoutinho
Message:

Ticket #2899 - Problema ao criar um evento apartir de uma mensagem

Location:
trunk/expressoMail1_2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/expressoMail1_2/inc/class.imap_functions.inc.php

    r6576 r6580  
    14021402                $return['login'] = $_SESSION['phpgw_info']['expressomail']['user']['account_id'];//$GLOBALS['phpgw_info']['user']['account_id']; 
    14031403                $return['reply_toaddress'] = $header->reply_toaddress; 
    1404                  
     1404                 
    14051405                if(($return['from']['email'] ==  '@unspecified-domain' || $return['sender']['email'] == null) && $return['msg_folder'] == 'INBOX/Drafts'){ 
    14061406                        $return['from']['email'] = "Rascunho"; 
    14071407                } 
    1408                 if($return['toaddress2'] == 'undisclosed-recipients@, @'){ 
     1408 
     1409                if(strpos($return['toaddress2'], 'undisclosed-recipients') !== false){ 
    14091410                        $return['toaddress2'] = $this->functions->getLang('without destination'); 
    14101411                }   
  • trunk/expressoMail1_2/js/draw_api.js

    r6562 r6580  
    30503050                                                 
    30513051                                                if( $.type(user) == "array") 
    3052                                                                 user = user[0]; 
     3052                                                    user = user[0]; 
     3053 
     3054                                                if(typeof(user) != 'object') 
     3055                                                    return (null); 
    30533056 
    30543057                                                if(!user) 
Note: See TracChangeset for help on using the changeset viewer.