Changed sqimap_get_sort_order call to take three variables
authorindiri69 <indiri69@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sat, 6 Jul 2002 17:53:08 +0000 (17:53 +0000)
committerindiri69 <indiri69@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sat, 6 Jul 2002 17:53:08 +0000 (17:53 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3064 7612ce4b-ef26-0410-bec9-ea0150e637f0

plugins/delete_move_next/setup.php

index fdaf954bfe506b0e1fe1041f7ce3258eef7306b2..e6fbb511cbcafc39adfb56c2591b893a393be8ee 100644 (file)
@@ -34,7 +34,8 @@ function fix_sort_array () {
     global $username, $data_dir, $allow_server_sort, $allow_thread_sort,
     $mailbox, $imapConnection, $sort;
     if ($allow_server_sort == true) {
     global $username, $data_dir, $allow_server_sort, $allow_thread_sort,
     $mailbox, $imapConnection, $sort;
     if ($allow_server_sort == true) {
-        $server_sort_array = sqimap_get_sort_order($imapConnection, $sort);
+        $mbxresponse = sqimap_mailbox_select($imapConnection, $mailbox);
+        $server_sort_array = sqimap_get_sort_order($imapConnection, $sort, $mbxresponse);
     }
     $thread_sort_messages = getPref($username, $data_dir, "thread_$mailbox");
     if ($allow_thread_sort == true && $thread_sort_messages == 1) {
     }
     $thread_sort_messages = getPref($username, $data_dir, "thread_$mailbox");
     if ($allow_thread_sort == true && $thread_sort_messages == 1) {