Ignore:
Timestamp:
07/19/12 17:07:48 (12 years ago)
Author:
eduardow
Message:

Ticket #2959 - Considerar mais de uma regra para uma mesma msg no filtro de msgs.

File:
1 edited

Legend:

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

    r6771 r6824  
    122122                        $action   = $data['actions']; 
    123123                         
    124                         ($i >0) ? $script_match = 'els' : $script_match = ''; 
     124                        ($i >0 && $verifyNextRule == 'false') ? $script_match = 'els' : $script_match = '';  
    125125                        $data['isExact'] == 'false' ?  $script_match .= 'if anyof (' : $script_match .= 'if allof ('; 
     126 
     127                        $verifyNextRule = 'false'; 
    126128 
    127129                        if( is_array($criteria) ) 
     
    275277                        $script_criteria = "";   
    276278                        $script_action = ""; 
    277                         $data['applyMessages'] = "";                                                     
     279                        $data['applyMessages'] = "";      
     280         
     281                $verifyNextRule = $data['verifyNextRule'];                                                       
    278282                } 
    279283 
Note: See TracChangeset for help on using the changeset viewer.