diff options
| author | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2012-02-02 22:18:10 +0000 |
|---|---|---|
| committer | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2012-02-02 22:18:10 +0000 |
| commit | 4f19c51b60bfb40122ff577883c613741572b5d5 (patch) | |
| tree | 7223a68e6c57e49c42dc3aac7f13107668303496 /roundcubemail/program/include/rcube_mdb2.php | |
| parent | db8183565ca9b5cb1e1b534efa94f77345781599 (diff) | |
Allow users to choose cols for contacts list sorting
git-svn-id: https://svn.roundcube.net/trunk@5850 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/include/rcube_mdb2.php')
| -rw-r--r-- | roundcubemail/program/include/rcube_mdb2.php | 2 |
1 files changed, 2 insertions, 0 deletions
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': |
