mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 13:30:25 +02:00
freeresult
git-svn-id: file:///svn/phpbb/trunk@4664 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -613,7 +613,7 @@ function delete_attachments($mode, $ids, $resync = TRUE)
|
||||
{
|
||||
$remaining[] = $row['post_id'];
|
||||
}
|
||||
$db->sql_fetchrow($result);
|
||||
$db->sql_freeresult($result);
|
||||
|
||||
$unset_ids = array_diff($post_ids, $remaining);
|
||||
if (sizeof($unset_ids))
|
||||
@@ -648,7 +648,7 @@ function delete_attachments($mode, $ids, $resync = TRUE)
|
||||
{
|
||||
$remaining[] = $row['topic_id'];
|
||||
}
|
||||
$db->sql_fetchrow($result);
|
||||
$db->sql_freeresult($result);
|
||||
|
||||
$unset_ids = array_diff($topic_ids, $remaining);
|
||||
if (sizeof($unset_ids))
|
||||
|
Reference in New Issue
Block a user