]> git.donarmstrong.com Git - roundcube.git/blobdiff - program/include/rcube_mdb2.php
Imported Upstream version 0.7.2
[roundcube.git] / program / include / rcube_mdb2.php
index f25acef4df04f6f14e2fa1c6ea7e22239e74e538..bb22960bc99eb566ae9e2d3c104d4f3ebb82e4f0 100644 (file)
@@ -16,7 +16,7 @@
  | Author: Lukas Kahwe Smith <smith@pooteeweet.org>                      |
  +-----------------------------------------------------------------------+
 
- $Id: rcube_mdb2.php 5543 2011-12-05 07:24:36Z alec $
+ $Id: rcube_mdb2.php 5872 2012-02-11 11:38:46Z thomasb $
 
 */
 
@@ -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':