diff options
author | thomascube <thomas@roundcube.net> | 2012-02-02 22:18:10 +0000 |
---|---|---|
committer | thomascube <thomas@roundcube.net> | 2012-02-02 22:18:10 +0000 |
commit | 43875379d5fcfc4e4d29e2edcbbed614a2050f7d (patch) | |
tree | 2679484edd2b05012c56eb01d6bfc8ff67916328 /program/include/rcube_mdb2.php | |
parent | fd6f6e27c4c727c1485674147e997eb9ce6118d6 (diff) |
Allow users to choose cols for contacts list sorting
Diffstat (limited to 'program/include/rcube_mdb2.php')
-rw-r--r-- | program/include/rcube_mdb2.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/program/include/rcube_mdb2.php b/program/include/rcube_mdb2.php index 5fd620f17..c103f9a61 100644 --- a/program/include/rcube_mdb2.php +++ b/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': |