Ignore:
Timestamp:
Nov 8, 2011 6:22:14 AM (19 months ago)
Author:
alec
Message:
  • Fix so folders with \Noinferiors attribute aren't listed in parent selector
  • Add LIST result and folder attributes cache
  • rcmail_render_folder_tree_select(): fix 'exceptions' parameter, add 'skip_noinferiors' option
File:
1 edited

Legend:

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

    r5365 r5398  
    22592259 
    22602260                    // Add to options array 
    2261                     if (!empty($opts)) { 
    2262                         if (empty($this->data['LIST'][$mailbox])) 
    2263                             $this->data['LIST'][$mailbox] = $opts; 
    2264                         else 
    2265                             $this->data['LIST'][$mailbox] = array_unique(array_merge( 
    2266                                 $this->data['LIST'][$mailbox], $opts)); 
    2267                     } 
     2261                    if (empty($this->data['LIST'][$mailbox])) 
     2262                        $this->data['LIST'][$mailbox] = $opts; 
     2263                    else if (!empty($opts)) 
     2264                        $this->data['LIST'][$mailbox] = array_unique(array_merge( 
     2265                            $this->data['LIST'][$mailbox], $opts)); 
    22682266                } 
    22692267                // * STATUS <mailbox> (<result>) 
Note: See TracChangeset for help on using the changeset viewer.