From c1963772605ed3d4aa923d479923e6ca4a8527e8 Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Wed, 25 Aug 2010 23:58:40 -0600 Subject: [PATCH] Fix caching in IMAP folder dropdown list --- imp/lib/IMP.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/imp/lib/IMP.php b/imp/lib/IMP.php index b31176fe5..e679741d9 100644 --- a/imp/lib/IMP.php +++ b/imp/lib/IMP.php @@ -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'])) { -- 2.11.0