mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-06 23:55:26 +02:00
ups. :)
git-svn-id: file:///svn/phpbb/trunk@4163 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
251a5b8f94
commit
8ef02f51fa
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user