diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2003-11-13 12:43:25 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2003-11-13 12:43:25 +0000 |
commit | 142f32d5546ca903c4b4e34bc0497a97be7833e3 (patch) | |
tree | 8711a9a8bf92741594308778cec4be5311f8aae5 /phpBB/includes/functions_admin.php | |
parent | 5f91c611d7adee79729dcd04d0b47e4505265fa5 (diff) | |
download | forums-142f32d5546ca903c4b4e34bc0497a97be7833e3.tar forums-142f32d5546ca903c4b4e34bc0497a97be7833e3.tar.gz forums-142f32d5546ca903c4b4e34bc0497a97be7833e3.tar.bz2 forums-142f32d5546ca903c4b4e34bc0497a97be7833e3.tar.xz forums-142f32d5546ca903c4b4e34bc0497a97be7833e3.zip |
freeresult
git-svn-id: file:///svn/phpbb/trunk@4664 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions_admin.php')
-rw-r--r-- | phpBB/includes/functions_admin.php | 4 |
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)) |