Ignore:
Timestamp:
Oct 29, 2008 8:39:12 AM (5 years ago)
Author:
alec
Message:
  • Fix problem with numeric folder names (#1485527)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/roundcubemail/program/include/rcube_imap.php

    r2009 r2021  
    26702670    // subfolders of default folders to their place... 
    26712671    // ...also do this for the rest of folders because 
    2672     // asort() is not properly sorting case sensitive names      
     2672    // asort() is not properly sorting case sensitive names 
     2673 
     2674    // set the type of folder name variable (#1485527)  
    26732675    while (list($key, $folder) = each($folders)) { 
    2674       $a_out[] = $folder; 
     2676      $a_out[] = (string) $folder; 
    26752677      unset($folders[$key]); 
    26762678      foreach ($folders as $idx => $f) { 
    26772679        if (strpos($f, $folder.$delimiter) === 0) { 
    2678           $a_out[] = $f; 
     2680          $a_out[] = (string) $f; 
    26792681          unset($folders[$idx]); 
    26802682          } 
Note: See TracChangeset for help on using the changeset viewer.