summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2008-09-20 08:03:36 +0000
committeralecpl <alec@alec.pl>2008-09-20 08:03:36 +0000
commitfc1a10b4d5f0128297e2475d09132187da7d08a8 (patch)
tree604d9ddea36ac1d4ff69a13be3e3ca64f0478899
parent106d057f8458e375efb9b582f33939cc780f6110 (diff)
- fixed identities sorting, to have allways identities with the same name in the same order on the list
-rw-r--r--program/include/rcube_user.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/rcube_user.php b/program/include/rcube_user.php
index 0f0301ca9..97de97b37 100644
--- a/program/include/rcube_user.php
+++ b/program/include/rcube_user.php
@@ -156,7 +156,7 @@ class rcube_user
WHERE del<>1
AND user_id=?
$sql_add
- ORDER BY ".$this->db->quoteIdentifier('standard')." DESC, name ASC",
+ ORDER BY ".$this->db->quoteIdentifier('standard')." DESC, name ASC, identity_id ASC",
$this->ID);
return $sql_result;