From 7c36c0c5bdf429feebe2cf3571661fa3179af5f4 Mon Sep 17 00:00:00 2001 From: Marc Alexander Date: Tue, 2 Apr 2024 21:26:15 +0200 Subject: [PATCH] [ticket/17010] Remove invalid int cast PHPBB3-17010 --- phpBB/phpbb/ucp/controller/webpush.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpBB/phpbb/ucp/controller/webpush.php b/phpBB/phpbb/ucp/controller/webpush.php index f1cd513df4..a7ebbffae8 100644 --- a/phpBB/phpbb/ucp/controller/webpush.php +++ b/phpBB/phpbb/ucp/controller/webpush.php @@ -230,7 +230,7 @@ class webpush $sql = 'DELETE FROM ' . $this->push_subscriptions_table . ' WHERE user_id = ' . (int) $this->user->id() . " - AND endpoint = '" . (int) $this->db->sql_escape($endpoint) . "'"; + AND endpoint = '" . $this->db->sql_escape($endpoint) . "'"; $this->db->sql_query($sql); return new JsonResponse([