aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes')
-rw-r--r--phpBB/includes/functions_admin.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/functions_admin.php b/phpBB/includes/functions_admin.php
index 40377c1bfe..7e0abc37cf 100644
--- a/phpBB/includes/functions_admin.php
+++ b/phpBB/includes/functions_admin.php
@@ -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))