From 6a6992f650747703f0531918d050b926965339b2 Mon Sep 17 00:00:00 2001
From: Thomas Bruederli <thomas@roundcube.net>
Date: Mon, 07 Oct 2013 05:52:21 -0400
Subject: [PATCH] Assign the chosen mode to the table map

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

diff --git a/program/lib/Roundcube/rcube_db.php b/program/lib/Roundcube/rcube_db.php
index b215c3a..0893585 100644
--- a/program/lib/Roundcube/rcube_db.php
+++ b/program/lib/Roundcube/rcube_db.php
@@ -256,7 +256,7 @@
 
             // remember mode chosen (for primary table)
             $table = $matches[0][2];
-            $this->table_connections[$table];
+            $this->table_connections[$table] = $mode;
         }
 
         return $mode;

--
Gitblit v1.9.1