Changeset 972


Ignore:
Timestamp:
06/10/09 16:17:06 (15 years ago)
Author:
niltonneto
Message:

Ticket #545 - Correção de problema quando a variavel $sort é nula.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/expressoMail1_2/inc/class.imap_functions.inc.php

    r971 r972  
    17361736                } 
    17371737 
    1738                 if ($slice_array && is_array($sort)) 
     1738                if(!is_array($sort)) 
     1739                        $sort = array(); 
     1740                         
     1741                if ($slice_array) 
    17391742                        $sort = array_slice($sort,$offsetBegin-1,$offsetEnd-($offsetBegin-1),true); 
     1743                         
    17401744 
    17411745                return $sort; 
Note: See TracChangeset for help on using the changeset viewer.