[ticket/17010] Remove invalid int cast

PHPBB3-17010
This commit is contained in:
Marc Alexander 2024-04-02 21:26:15 +02:00
parent fcfed79385
commit 7c36c0c5bd
No known key found for this signature in database
GPG key ID: 50E0D2423696F995

View file

@ -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([