|
From: Paul S. O. <ps...@us...> - 2001-12-20 00:39:25
|
Update of /cvsroot/phpbb/phpBB2
In directory usw-pr-cvs1:/tmp/cvs-serv13052
Modified Files:
search.php
Log Message:
Fix bug #495130 and remove unnecessary free_result
Index: search.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/search.php,v
retrieving revision 1.48
retrieving revision 1.49
diff -C2 -r1.48 -r1.49
*** search.php 2001/12/19 17:15:08 1.48
--- search.php 2001/12/20 00:39:22 1.49
***************
*** 745,751 ****
}
}
-
- $db->sql_freeresult($result);
-
}
else
--- 745,748 ----
***************
*** 1051,1055 ****
$times = 1;
! for($j = 0; $j < $replies + 1; $j += $board_config['topics_per_page'])
{
$base_url = append_sid("viewtopic.$phpEx?" . POST_TOPIC_URL . "=" . $topic_id . "&start=$j&highlight=$highlight_active");
--- 1048,1052 ----
$times = 1;
! 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");
|