Fix caching in IMAP folder dropdown list
authorMichael M Slusarz <slusarz@curecanti.org>
Thu, 26 Aug 2010 05:58:40 +0000 (23:58 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Thu, 26 Aug 2010 06:32:47 +0000 (00:32 -0600)
imp/lib/IMP.php

index b31176f..e679741 100644 (file)
@@ -192,7 +192,9 @@ class IMP
      */
     static public function flistSelect($options = array())
     {
-        $tree = $GLOBALS['injector']->getInstance('IMP_Imap_Tree')->createTree('imp_flist_select', array(
+        $imaptree = $GLOBALS['injector']->getInstance('IMP_Imap_Tree');
+        $imaptree->setIteratorFilter();
+        $tree = $imaptree->createTree(strval(new Horde_Support_Randomid()), array(
             'render_type' => 'IMP_Tree_Flist'
         ));
         if (!empty($options['selected'])) {