|
From: Bart v. B. <ba...@us...> - 2002-01-28 23:12:35
|
Update of /cvsroot/phpbb/phpBB2
In directory usw-pr-cvs1:/tmp/cvs-serv25883
Modified Files:
search.php
Log Message:
Fixed pagination bug on search results ( #509852 )
Index: search.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/search.php,v
retrieving revision 1.60
retrieving revision 1.61
diff -C2 -r1.60 -r1.61
*** search.php 2002/01/27 02:24:05 1.60
--- search.php 2002/01/28 23:12:31 1.61
***************
*** 522,531 ****
// and run it ...
//
! if( !$total_match_count )
{
- message_die(GENERAL_MESSAGE, $lang['No_search_match']);
- }
- else if( $total_match_count )
- {
//
// Clean up search results table
--- 522,527 ----
// and run it ...
//
! if( $total_match_count )
{
//
// Clean up search results table
***************
*** 633,636 ****
--- 629,636 ----
header("Location: " . append_sid("search.$phpEx", true));
}
+ }
+ else
+ {
+ message_die(GENERAL_MESSAGE, $lang['No_search_match']);
}
|