mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
Fixed pagination bug on search results ( #509852 )
git-svn-id: file:///svn/phpbb/trunk@2010 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
2b3b8b7198
commit
0c95dffd8a
1 changed files with 5 additions and 5 deletions
|
@ -521,11 +521,7 @@ else if( $query_keywords != "" || $query_author != "" || $search_id )
|
|||
// Finish building query (for all combinations)
|
||||
// and run it ...
|
||||
//
|
||||
if( !$total_match_count )
|
||||
{
|
||||
message_die(GENERAL_MESSAGE, $lang['No_search_match']);
|
||||
}
|
||||
else if( $total_match_count )
|
||||
if( $total_match_count )
|
||||
{
|
||||
//
|
||||
// Clean up search results table
|
||||
|
@ -633,6 +629,10 @@ else if( $query_keywords != "" || $query_author != "" || $search_id )
|
|||
header("Location: " . append_sid("search.$phpEx", true));
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
message_die(GENERAL_MESSAGE, $lang['No_search_match']);
|
||||
}
|
||||
|
||||
if( $search_results != "" )
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue