mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
freeresult
git-svn-id: file:///svn/phpbb/trunk@4664 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
5f91c611d7
commit
142f32d554
1 changed files with 2 additions and 2 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Reference in a new issue