aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_posting.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2003-06-21 13:00:49 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2003-06-21 13:00:49 +0000
commit8ef02f51fa311ec976e948d62c8e2223878d0e0c (patch)
tree50ae57d442b5db1a3ae9aaa0e2e94ffdea9439bc /phpBB/includes/functions_posting.php
parent251a5b8f94c956f722660207f6ceb67057b6de81 (diff)
downloadforums-8ef02f51fa311ec976e948d62c8e2223878d0e0c.tar
forums-8ef02f51fa311ec976e948d62c8e2223878d0e0c.tar.gz
forums-8ef02f51fa311ec976e948d62c8e2223878d0e0c.tar.bz2
forums-8ef02f51fa311ec976e948d62c8e2223878d0e0c.tar.xz
forums-8ef02f51fa311ec976e948d62c8e2223878d0e0c.zip
ups. :)
git-svn-id: file:///svn/phpbb/trunk@4163 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions_posting.php')
-rw-r--r--phpBB/includes/functions_posting.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions_posting.php b/phpBB/includes/functions_posting.php
index 73fdc70b6f..2ee615295b 100644
--- a/phpBB/includes/functions_posting.php
+++ b/phpBB/includes/functions_posting.php
@@ -420,7 +420,7 @@ function delete_attachment($post_id_array = -1, $attach_id_array = -1, $page = '
$sql_id = 'post_id';
}
- $sql = 'DELETE FROM ' . ATTACHMENTS_TABLE . '
+ $sql = "DELETE FROM " . ATTACHMENTS_TABLE . "
WHERE attach_id IN (" . implode(', ', $attach_id_array) . ")
AND $sql_id IN (" . implode(', ', $post_id_array) . ")";
$db->sql_query($sql);