Ignore:
Timestamp:
04/11/12 14:15:00 (12 years ago)
Author:
acoutinho
Message:

Ticket #2612 - Evento com erro ao importar via ExpressoMail?

File:
1 edited

Legend:

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

    r5821 r5916  
    447447                                $output = ob_get_clean();                        
    448448                                $valid = json_decode($output, true); 
     449 
    449450                                if($_REQUEST['readable']){       
    450451                                        if(!is_array($valid)) 
    451452                                        { 
    452453                                                $output = unserialize($output);  
    453                                                 foreach($output as $key => $value) 
    454                                                     return $value; 
     454                                                foreach($output as $key => $value) 
     455                                                        return $value; 
    455456                                        } 
    456457                                        return false; 
    457                                 } 
    458  
    459                                 if(empty($valid)) 
     458                                }                                
     459                                if(empty($output)) 
    460460                                        return "error";  
    461461                                return "ok"; 
Note: See TracChangeset for help on using the changeset viewer.