1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-11 11:13:59 +02:00

fixed some small bugs... added the updater (this one needs some testing, i have moved some things around)

git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@3674 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Meik Sievertsen
2003-03-18 23:24:02 +00:00
parent 42ec97aab7
commit 374560da38
7 changed files with 964 additions and 9 deletions

View File

@@ -56,6 +56,7 @@ function prune($forum_id, $prune_date, $prune_all = false)
{
$sql_topics .= ( ( $sql_topics != '' ) ? ', ' : '' ) . $row['topic_id'];
}
$db->sql_freeresult($result);
if( $sql_topics != '' )
{
@@ -73,6 +74,7 @@ function prune($forum_id, $prune_date, $prune_all = false)
{
$sql_post .= ( ( $sql_post != '' ) ? ', ' : '' ) . $row['post_id'];
}
$db->sql_freeresult($result);
if ( $sql_post != '' )
{