1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00
git-svn-id: file:///svn/phpbb/trunk@8113 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Meik Sievertsen
2007-09-26 16:53:40 +00:00
parent cb85c2c57c
commit b2afdc0704
4 changed files with 41 additions and 3 deletions

View File

@@ -790,7 +790,7 @@ function delete_attachments($mode, $ids, $resync = true)
{
global $db, $config;
if (is_array($ids))
if (is_array($ids) && sizeof($ids))
{
$ids = array_unique($ids);
$ids = array_map('intval', $ids);