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

Merge pull request #6500 from marc1706/ticket/15687

[ticket/15687] Add attachment filename to attachment URL
This commit is contained in:
Marc Alexander
2023-07-26 15:19:36 +02:00
committed by GitHub
10 changed files with 78 additions and 17 deletions

View File

@@ -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',
[
'id' => (int) $row['attach_id'],
'filename' => $row['real_filename'],
]
),
'U_VIEW_TOPIC' => $view_topic)
);
}