Changeset 4575 for branches/2.2


Ignore:
Timestamp:
06/02/11 10:53:00 (13 years ago)
Author:
alexandrecorreia
Message:

Ticket #1964 - Corrigido o descompartilhamento com pastas acentuadas

File:
1 edited

Legend:

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

    r4568 r4575  
    37283728                }*/ 
    37293729 
    3730                 if (count($remove_share)) 
    3731                 { 
    3732                         foreach ($remove_share as $index=>$uid) 
    3733                         { 
    3734                         if (is_array($mailboxes_list)) 
    3735                         { 
    3736                         foreach ($mailboxes_list as $key => $val) 
    3737                         { 
    3738                         $folder = str_replace($serverString, "", imap_utf7_decode($val->name)); 
    3739                                                 imap_setacl ($mbox_stream, $folder, "$uid", ""); 
    3740                         } 
    3741                         } 
    3742                         } 
    3743                 } 
     3730                if (count($remove_share)) 
     3731                { 
     3732                    foreach ($remove_share as $index=>$uid) 
     3733                    { 
     3734                        if (is_array($mailboxes_list)) 
     3735                        { 
     3736                            foreach ($mailboxes_list as $key => $val) 
     3737                            { 
     3738                                $folder = str_replace($serverString, "", imap_utf7_decode($val->name)); 
     3739                                $folder = str_replace("&-", "&", $folder); 
     3740                                imap_setacl ($mbox_stream, $folder, "$uid", ""); 
     3741                            } 
     3742                        } 
     3743                    } 
     3744                } 
    37443745 
    37453746                return true; 
Note: See TracChangeset for help on using the changeset viewer.