summaryrefslogtreecommitdiff
path: root/program/include/rcube_mdb2.php
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2012-02-11 11:38:46 +0000
committerthomascube <thomas@roundcube.net>2012-02-11 11:38:46 +0000
commitba36dd03f6f7005a6e35ec02e4ff9a58f95be1c3 (patch)
tree002d0183144bb7adcf757144c035f0f8d0eba649 /program/include/rcube_mdb2.php
parent5ea6e16036aa18c57c709dc88e4255120b63e965 (diff)
Backported r5850 to 0.7 branch
Diffstat (limited to 'program/include/rcube_mdb2.php')
-rw-r--r--program/include/rcube_mdb2.php2
1 files changed, 2 insertions, 0 deletions
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':