mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-09 04:48:53 +00:00
ups. :)
git-svn-id: file:///svn/phpbb/trunk@4163 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
251a5b8f94
commit
8ef02f51fa
1 changed files with 1 additions and 1 deletions
|
@ -420,7 +420,7 @@ function delete_attachment($post_id_array = -1, $attach_id_array = -1, $page = '
|
||||||
$sql_id = 'post_id';
|
$sql_id = 'post_id';
|
||||||
}
|
}
|
||||||
|
|
||||||
$sql = 'DELETE FROM ' . ATTACHMENTS_TABLE . '
|
$sql = "DELETE FROM " . ATTACHMENTS_TABLE . "
|
||||||
WHERE attach_id IN (" . implode(', ', $attach_id_array) . ")
|
WHERE attach_id IN (" . implode(', ', $attach_id_array) . ")
|
||||||
AND $sql_id IN (" . implode(', ', $post_id_array) . ")";
|
AND $sql_id IN (" . implode(', ', $post_id_array) . ")";
|
||||||
$db->sql_query($sql);
|
$db->sql_query($sql);
|
||||||
|
|
Loading…
Add table
Reference in a new issue