Changeset 7381 for branches


Ignore:
Timestamp:
10/09/12 15:19:31 (7 years ago)
Author:
eduardow
Message:

Ticket #3148 - Problema com os filtros quando adicionado um texto com acento no assunto

File:
1 edited

Legend:

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

    r7228 r7381  
    150150                                                $script_criteria .= "header :"; 
    151151                                                if($criteria[$j]['operator'] == "$") {  
    152                                 $criteria[$j]['value'] = "" . imap_8bit($criteria[$j]['value']) . "\", \"*" . base64_encode($criteria[$j]['value']) . "";  
     152                                $criteria[$j]['value'] = "" . $criteria[$j]['value'] . "\", \"*" . base64_encode($criteria[$j]['value']) . ""; 
    153153                                break;  
    154154                        }  
    155155                        if($criteria[$j]['operator'] == "^") {  
    156                                 $criteria[$j]['value'] = "" . imap_8bit($criteria[$j]['value']) . "*\", \"" . base64_encode($criteria[$j]['value']) . "";  
     156                                $criteria[$j]['value'] = "" . $criteria[$j]['value'] . "*\", \"" . base64_encode($criteria[$j]['value']) . "";  
    157157                                break;  
    158158                        }  
    159                         $criteria[$j]['value'] = "" . imap_8bit($criteria[$j]['value']) . "\", \"" . base64_encode($criteria[$j]['value']) . "";  
     159                        $criteria[$j]['value'] = "" . $criteria[$j]['value'] . "\", \"" . base64_encode($criteria[$j]['value']) . "";  
    160160                        break;  
    161161                case 'BODY': 
Note: See TracChangeset for help on using the changeset viewer.