1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 05:50:42 +02:00

[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

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