From ba36dd03f6f7005a6e35ec02e4ff9a58f95be1c3 Mon Sep 17 00:00:00 2001 From: thomascube Date: Sat, 11 Feb 2012 11:38:46 +0000 Subject: Backported r5850 to 0.7 branch --- program/include/rcube_mdb2.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'program/include/rcube_mdb2.php') diff --git a/program/include/rcube_mdb2.php b/program/include/rcube_mdb2.php index f1669677c..26e5e974a 100644 --- a/program/include/rcube_mdb2.php +++ b/program/include/rcube_mdb2.php @@ -633,6 +633,8 @@ class rcube_mdb2 { $func = ''; $args = func_get_args(); + if (is_array($args[0])) + $args = $args[0]; switch($this->db_provider) { case 'mysql': -- cgit v1.2.3