X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=src%2Fsearch.php;h=b99fff9c81635bcd117ece3537cb8922e02c9d75;hb=b11b4108a47cf77f4b3336dc48ee35d34ade6208;hp=c3dd1001cd135bf54d4d014fabf2e6d8aa6486b3;hpb=82d304a0501324b276cabab1870755d5352bd21c;p=squirrelmail.git diff --git a/src/search.php b/src/search.php index c3dd1001..b99fff9c 100644 --- a/src/search.php +++ b/src/search.php @@ -670,7 +670,7 @@ function asearch_print_mailbox_msgs($imapConnection, $mailbox, $msgs, $cnt, $sor echo '
'; echo ''; echo ''; @@ -1048,6 +1048,8 @@ if ($submit == $search_button_text) { echo html_tag('tr', html_tag('td', asearch_get_query_display($color, $mailbox_array, $biop_array, $unop_array, $where_array, $what_array, $exclude_array, $sub_array), 'center', $color[4])); echo '
'; - mail_message_listing_beginning($imapConnection, $mailbox, $real_sort, $msg_cnt_str, $paginator_str, 1); + mail_message_listing_beginning($imapConnection, NULL, $mailbox, $real_sort, $msg_cnt_str, $paginator_str, 1, 1); echo '
' . "\n"; + flush(); + $query_error = asearch_check_query($where_array, $what_array, $exclude_array); if ($query_error != '') echo '
' . html_tag('div', asearch_get_error_display($color, $query_error), 'center') . "\n";