From ba36dd03f6f7005a6e35ec02e4ff9a58f95be1c3 Mon Sep 17 00:00:00 2001 From: thomascube <thomas@roundcube.net> Date: Sat, 11 Feb 2012 06:38:46 -0500 Subject: [PATCH] Backported r5850 to 0.7 branch --- program/include/rcube_mdb2.php | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/program/include/rcube_mdb2.php b/program/include/rcube_mdb2.php index f166967..26e5e97 100644 --- a/program/include/rcube_mdb2.php +++ b/program/include/rcube_mdb2.php @@ -633,6 +633,8 @@ { $func = ''; $args = func_get_args(); + if (is_array($args[0])) + $args = $args[0]; switch($this->db_provider) { case 'mysql': -- Gitblit v1.9.1