1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-05-25 08:41:53 +02:00

[feature/attachment-management-no-reassignment] Fix minor flaws in the code.

Thanks to Oleg for inspection.

PHPBB3-9721
This commit is contained in:
rxu 2011-03-14 00:03:31 +07:00
parent 97864d69ee
commit 804a11074b

View File

@ -1161,8 +1161,7 @@ class acp_attachments
'S_SORT_DIR' => $s_sort_dir)
);
// Grab extensions
$extensions = array();
// Grab extensions information
$extensions = $cache->obtain_attach_extensions(true);
for ($i = 0, $end = sizeof($attachments_list); $i < $end; ++$i)