mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 22:28:51 +00:00
Fix bug #495130 and remove unnecessary free_result
git-svn-id: file:///svn/phpbb/trunk@1641 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
b453e0981e
commit
55b0c6eabe
1 changed files with 1 additions and 4 deletions
|
@ -744,9 +744,6 @@ else if( $query_keywords != "" || $query_author != "" || $search_id )
|
|||
message_die(GENERAL_ERROR, "Couldn't insert search results", "", __LINE__, __FILE__, $sql);
|
||||
}
|
||||
}
|
||||
|
||||
$db->sql_freeresult($result);
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -1050,7 +1047,7 @@ else if( $query_keywords != "" || $query_author != "" || $search_id )
|
|||
$goto_page = "[ <img src=\"" . $images['icon_gotopost'] . "\" alt=\"" . $lang['Goto_page'] . "\" />" . $lang['Goto_page'] . ": ";
|
||||
|
||||
$times = 1;
|
||||
for($j = 0; $j < $replies + 1; $j += $board_config['topics_per_page'])
|
||||
for($j = 0; $j < $replies + 1; $j += $board_config['posts_per_page'])
|
||||
{
|
||||
$base_url = append_sid("viewtopic.$phpEx?" . POST_TOPIC_URL . "=" . $topic_id . "&start=$j&highlight=$highlight_active");
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue