mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-01 14:30:32 +02:00
[ticket/17010] Remove invalid int cast
PHPBB3-17010
This commit is contained in:
@@ -230,7 +230,7 @@ class webpush
|
|||||||
|
|
||||||
$sql = 'DELETE FROM ' . $this->push_subscriptions_table . '
|
$sql = 'DELETE FROM ' . $this->push_subscriptions_table . '
|
||||||
WHERE user_id = ' . (int) $this->user->id() . "
|
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);
|
$this->db->sql_query($sql);
|
||||||
|
|
||||||
return new JsonResponse([
|
return new JsonResponse([
|
||||||
|
Reference in New Issue
Block a user