Aleksander Machniak
2012-08-11 e0efd8f5dc9bcdb7559c71386aa3c91c1230e8d3
program/steps/mail/move_del.inc
@@ -135,11 +135,8 @@
  // add new rows from next page (if any)
  if ($addrows && $count && $uids != '*' && ($jump_back || $nextpage_count > 0)) {
    $sort_col   = isset($_SESSION['sort_col'])   ? $_SESSION['sort_col']   : $CONFIG['message_sort_col'];
    $sort_order = isset($_SESSION['sort_order']) ? $_SESSION['sort_order'] : $CONFIG['message_sort_order'];
    $a_headers = $RCMAIL->storage->list_messages($mbox, NULL, $sort_col, $sort_order,
      $jump_back ? NULL : $count);
    $a_headers = $RCMAIL->storage->list_messages($mbox, NULL,
      rcmail_sort_column(), rcmail_sort_order(), $jump_back ? NULL : $count);
    rcmail_js_message_list($a_headers, false);
  }