mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-06 16:56:44 +02:00
[ticket/15687] Add attachment filename to attachment URL
This will also fix the invalid requirements for the file parameter of the URL. PHPBB3-15687
This commit is contained in:
@@ -2306,7 +2306,13 @@ class acp_users
|
||||
|
||||
'S_IN_MESSAGE' => $row['in_message'],
|
||||
|
||||
'U_DOWNLOAD' => $controller_helper->route('phpbb_storage_attachment', ['file' => (int) $row['attach_id']]),
|
||||
'U_DOWNLOAD' => $controller_helper->route(
|
||||
'phpbb_storage_attachment',
|
||||
[
|
||||
'file' => (int) $row['attach_id'],
|
||||
'filename' => $row['real_filename'],
|
||||
]
|
||||
),
|
||||
'U_VIEW_TOPIC' => $view_topic)
|
||||
);
|
||||
}
|
||||
|
Reference in New Issue
Block a user