Browse Source

Sigh, maybe I need sleep or so. To many bugs ...

stekkel 21 years ago
parent
commit
01f20c33df
1 changed files with 1 additions and 1 deletions
  1. 1 1
      functions/imap_messages.php

+ 1 - 1
functions/imap_messages.php

@@ -240,7 +240,7 @@ function get_squirrel_sort ($imap_stream, $sSortField, $reverse = false) {
         natcasesort($aUid);
         $aUid = array_keys($aUid);
         if ($reverse) {
-             array_reverse($aUid);
+             $aUid = array_reverse($aUid);
         }
         break;
         //  \natcasesort section