mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[feature/attachment-management-no-reassignment] Fix minor flaws in the code.
Thanks to Oleg for inspection. PHPBB3-9721
This commit is contained in:
parent
97864d69ee
commit
804a11074b
1 changed files with 4 additions and 5 deletions
|
@ -1161,8 +1161,7 @@ class acp_attachments
|
||||||
'S_SORT_DIR' => $s_sort_dir)
|
'S_SORT_DIR' => $s_sort_dir)
|
||||||
);
|
);
|
||||||
|
|
||||||
// Grab extensions
|
// Grab extensions information
|
||||||
$extensions = array();
|
|
||||||
$extensions = $cache->obtain_attach_extensions(true);
|
$extensions = $cache->obtain_attach_extensions(true);
|
||||||
|
|
||||||
for ($i = 0, $end = sizeof($attachments_list); $i < $end; ++$i)
|
for ($i = 0, $end = sizeof($attachments_list); $i < $end; ++$i)
|
||||||
|
|
Loading…
Add table
Reference in a new issue