Changeset 523 for trunk/mobile


Ignore:
Timestamp:
10/09/08 14:42:12 (16 years ago)
Author:
niltonneto
Message:

Condições adicionadas para evitar warnings/errors do PHP.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/mobile/inc/class.mobilemail.inc.php

    r517 r523  
    593593                        } 
    594594                 
    595                         $msg = $this->imap_functions->get_info_msg($params); 
     595                        if($params) 
     596                                $msg = $this->imap_functions->get_info_msg($params); 
    596597 
    597598 
     
    668669                { 
    669670                        //Chamada da classe phpmailer 
    670                         include_once("/var/www/expresso/phpgwapi/inc/class.phpmailer.inc.php"); 
     671                        include_once(PHPGW_SERVER_ROOT."/phpgwapi/inc/class.phpmailer.inc.php"); 
    671672 
    672673                        //Recebe os dados do form (passados pelo POST) 
     
    716717 
    717718                        $p->set_block('sent_msg_t','retorno'); 
    718                         header('Refresh: 1; url=./'); 
     719                        @header('Refresh: 1; url=./'); 
    719720 
    720721                        //Se o e-mail nao for enviado por qualquer motivo... 
Note: See TracChangeset for help on using the changeset viewer.