diff --git a/phpBB/includes/acp/acp_attachments.php b/phpBB/includes/acp/acp_attachments.php index f8969f8007..4eb06bd6f8 100644 --- a/phpBB/includes/acp/acp_attachments.php +++ b/phpBB/includes/acp/acp_attachments.php @@ -1311,7 +1311,7 @@ class acp_attachments 'U_FILE' => $this->controller_helper->route( 'phpbb_storage_attachment', [ - 'id' => $row['attach_id'], + 'id' => (int) $row['attach_id'], 'filename' => $row['real_filename'], ] )