From 4f19c51b60bfb40122ff577883c613741572b5d5 Mon Sep 17 00:00:00 2001 From: thomasb Date: Thu, 2 Feb 2012 22:18:10 +0000 Subject: Allow users to choose cols for contacts list sorting git-svn-id: https://svn.roundcube.net/trunk@5850 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/program/include/rcube_mdb2.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'roundcubemail/program/include/rcube_mdb2.php') diff --git a/roundcubemail/program/include/rcube_mdb2.php b/roundcubemail/program/include/rcube_mdb2.php index 5fd620f17..c103f9a61 100644 --- a/roundcubemail/program/include/rcube_mdb2.php +++ b/roundcubemail/program/include/rcube_mdb2.php @@ -636,6 +636,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