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:
@@ -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 != '' )
|
||||
{
|
||||
|
Reference in New Issue
Block a user