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:
@@ -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([
|
||||
|
Reference in New Issue
Block a user