Changeset 5728


Ignore:
Timestamp:
03/15/12 11:16:17 (12 years ago)
Author:
airton
Message:

Ticket #1782 - Especificar DFD0060 - Verificacoes para evitar Fatal Error no momento da chamada do interceptor

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/prototype/modules/filters/interceptors/FilterMapping.php

    r5692 r5728  
    107107                        $data['isExact'] == 'false' ?  $script_match .= 'if anyof (' : $script_match .= 'if allof ('; 
    108108 
     109 
     110                        if( is_array($criteria) ) 
    109111                        foreach ($criteria as $j => $value); 
    110112                        {                                        
     113                                  
    111114                                switch($criteria[$j]['field']) { 
    112115                                        case 'To':     
     
    190193 
    191194                        $script_action = " {\r\n "; 
     195                         
     196                        if( is_array($actions) ) 
    192197                        foreach ($action as $k=> $value); 
    193198                        { 
     
    319324        public function parseSieveScript( $script ) 
    320325        { 
     326                /* 
    321327                $old_rule = strripos($script, "##PSEUDO script start"); 
    322328                 
     
    344350                        return $old_retorno; 
    345351                } 
    346  
     352                */ 
    347353                $pos = strripos($script, "#PseudoScript#"); 
    348354                $pseudo_script = substr( $script, $pos+17 ); 
Note: See TracChangeset for help on using the changeset viewer.