mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-02 23:07:39 +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:
@@ -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)
|
||||||
|
Reference in New Issue
Block a user