Changeset 5153 for branches


Ignore:
Timestamp:
11/04/11 17:50:32 (8 years ago)
Author:
niltonneto
Message:

Ticket #2309 - Corrigido problema de warnings excessivos gerados pela função substr().

File:
1 edited

Legend:

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

    r5092 r5153  
    18181818                            $folderUser = trim( strpos( $tmp_folder_id[1], $this->imap_delimiter , 5 ) ); 
    18191819 
    1820                             $folderUser = trim( substr( $tmp_folder_id[1], 0, $folderUser ) ); 
     1820                                                        if($folderUser > 0) 
     1821                                $folderUser = trim( substr( $tmp_folder_id[1], 0, $folderUser ) ); 
    18211822 
    18221823                            $Permission = true; 
Note: See TracChangeset for help on using the changeset viewer.