From ba36dd03f6f7005a6e35ec02e4ff9a58f95be1c3 Mon Sep 17 00:00:00 2001 From: thomascube Date: Sat, 11 Feb 2012 11:38:46 +0000 Subject: Backported r5850 to 0.7 branch --- program/include/rcmail.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'program/include/rcmail.php') diff --git a/program/include/rcmail.php b/program/include/rcmail.php index 6f0ba2ce9..f6e2b4b59 100644 --- a/program/include/rcmail.php +++ b/program/include/rcmail.php @@ -452,6 +452,10 @@ class rcmail true, true); } + // set configured sort order + if ($sort_col = $this->config->get('addressbook_sort_col')) + $contacts->set_sort_order($sort_col); + // add to the 'books' array for shutdown function $this->address_books[$id] = $contacts; -- cgit v1.2.3