From 64c924ea06afa1eec463078a5d05fc908c12d10d Mon Sep 17 00:00:00 2001
From: Aleksander Machniak <alec@alec.pl>
Date: Tue, 15 Oct 2013 03:22:09 -0400
Subject: [PATCH] Fix regression where wrong set of message identifiers was used in sql query that was supposed to fetch list of messages from cache

---
 program/lib/Roundcube/rcube_plugin_api.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/program/lib/Roundcube/rcube_plugin_api.php b/program/lib/Roundcube/rcube_plugin_api.php
index 33f04ea..5a25ada 100644
--- a/program/lib/Roundcube/rcube_plugin_api.php
+++ b/program/lib/Roundcube/rcube_plugin_api.php
@@ -403,7 +403,7 @@
                 $args = $ret + $args;
             }
 
-            if ($args['abort']) {
+            if ($args['break']) {
                 break;
             }
         }

--
Gitblit v1.9.1