Changeset 3138


Ignore:
Timestamp:
08/05/10 11:05:06 (10 years ago)
Author:
amuller
Message:

Ticket #1154 - Arruma problema de buscas duplicadas no expressoMail

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2/expressoMail1_2/inc/class.imap_functions.inc.php

    r3130 r3138  
    32423242            } 
    32433243 
    3244             if($search){ 
     3244            if(is_array($search)){ 
     3245                $search = array_unique($search); // Remove duplicated folders 
    32453246                $search_criteria = ''; 
    32463247                $search_result_number = $_SESSION['phpgw_info']['user']['preferences']['expressoMail']['search_result_number']; 
     
    33083309                            $search_criteria = imap_search($mbox_stream, $_filter, SE_UID); 
    33093310 
    3310                             if($search_criteria) //&& count($search_criteria) < 50) 
     3311                            if(is_array($search_criteria)) //&& count($search_criteria) < 50) 
    33113312                            { 
    33123313                                foreach($search_criteria as $new_search) 
Note: See TracChangeset for help on using the changeset viewer.