From c48092f6e76e1eb8f4d2692f9c55415938cd0426 Mon Sep 17 00:00:00 2001 From: Marc Alexander Date: Thu, 20 Jul 2023 09:09:59 +0200 Subject: [PATCH] [ticket/15687] Add missing int cast PHPBB3-15687 --- phpBB/includes/acp/acp_attachments.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'], ] )