From f50a66c616bdc46ac0c568e1efdeb979477db4db Mon Sep 17 00:00:00 2001
From: Thomas Bruederli <thomas@roundcube.net>
Date: Tue, 08 Apr 2014 10:26:56 -0400
Subject: [PATCH] Enable listmode switch if listing is not multi-folder

---
 program/steps/mail/func.inc |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/program/steps/mail/func.inc b/program/steps/mail/func.inc
index a541fca..630086a 100644
--- a/program/steps/mail/func.inc
+++ b/program/steps/mail/func.inc
@@ -393,6 +393,8 @@
         $OUTPUT->command('select_folder', '');
     }
 
+    $OUTPUT->set_env('multifolder_listing', $multifolder);
+
     if (empty($a_headers)) {
         return;
     }

--
Gitblit v1.9.1