Changeset 5952 in subversion for branches/release-0.7/program/include/rcube_imap_generic.php
- Timestamp:
- Mar 3, 2012 8:20:14 AM (15 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/release-0.7/program/include/rcube_imap_generic.php
r5840 r5952 2280 2280 } 2281 2281 2282 // Add to options array 2283 if (empty($this->data['LIST'][$mailbox])) 2284 $this->data['LIST'][$mailbox] = $opts; 2285 else if (!empty($opts)) 2286 $this->data['LIST'][$mailbox] = array_unique(array_merge( 2287 $this->data['LIST'][$mailbox], $opts)); 2282 // store LSUB options only if not empty, this way 2283 // we can detect a situation when LIST doesn't return specified folder 2284 if (!empty($opts) || $cmd == 'LIST') { 2285 // Add to options array 2286 if (empty($this->data['LIST'][$mailbox])) 2287 $this->data['LIST'][$mailbox] = $opts; 2288 else if (!empty($opts)) 2289 $this->data['LIST'][$mailbox] = array_unique(array_merge( 2290 $this->data['LIST'][$mailbox], $opts)); 2291 } 2288 2292 } 2289 2293 // * STATUS <mailbox> (<result>)
Note: See TracChangeset
for help on using the changeset viewer.
