Changeset 378


Ignore:
Timestamp:
07/28/08 17:01:53 (16 years ago)
Author:
niltonneto
Message:

Ocorrência #139 (defeito: fixed)

File:
1 edited

Legend:

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

    r372 r378  
    23362336                        foreach ($mailboxes_list as $key => $val) 
    23372337                        { 
    2338                                 $folder = str_replace($serverString, "", imap_utf7_decode($val->name)); 
     2338                                $folder = str_replace($serverString, "", imap_utf7_encode($val->name)); 
     2339                                $folder = str_replace("&-", "&", $folder); 
    23392340                                if (!imap_setacl ($mbox_stream, $folder, $user, $acl)) 
    23402341                                { 
    2341                                         return imap_last_error(); 
    2342                                 } 
    2343                         } 
    2344                 } 
    2345                  
    2346                 return true; 
     2342                                        $return = imap_last_error(); 
     2343                                } 
     2344                        } 
     2345                } 
     2346                if (isset($return)) 
     2347                        return $return; 
     2348                else 
     2349                        return true; 
    23472350        } 
    23482351         
Note: See TracChangeset for help on using the changeset viewer.