Ignore:
Timestamp:
07/16/12 16:00:06 (12 years ago)
Author:
airton
Message:

Ticket #2959 - Considerar mais de uma regra para uma mesma mensagem no filtro de mensagem

File:
1 edited

Legend:

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

    r6756 r6789  
    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 ('; 
    126126 
     127                        $verifyNextRule = 'false'; 
     128                         
    127129                        if( is_array($criteria) ) 
    128130                        foreach ($criteria as $j => $value) 
     
    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.