Changeset 5996


Ignore:
Timestamp:
04/23/12 15:28:56 (12 years ago)
Author:
airton
Message:

Ticket #2641 - Problemas com filtros que contem mais de uma acao

File:
1 edited

Legend:

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

    r5952 r5996  
    8484                foreach( $rules as $name => $data ) 
    8585                { 
    86                          
    8786                        if(array_key_exists("block", $data)) { 
    8887                                /* Usado na opção Bloquear usuário do ExpressoMail */ 
     
    110109 
    111110                        if( is_array($criteria) ) 
    112                         foreach ($criteria as $j => $value); 
     111                        foreach ($criteria as $j => $value) 
    113112                        {                                        
    114113 
     
    196195                         
    197196                        if( is_array($action) ) 
    198                         foreach ($action as $k=> $value); 
     197                        foreach ($action as $k => $value) 
    199198                        { 
    200199                                switch ($action[$k]['type']) { 
     
    222221                                if ($vacation == false) $script_action .= $action[$k]['type'] . " \"" . $action[$k]['parameter'] . "\";\r\n "; 
    223222                        } 
    224  
    225223                        $script_action .= "}"; 
    226224                         
Note: See TracChangeset for help on using the changeset viewer.