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:
parent
97864d69ee
commit
804a11074b
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user