mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00:00
[ticket/17010] Remove invalid int cast
PHPBB3-17010
This commit is contained in:
parent
fcfed79385
commit
7c36c0c5bd
1 changed files with 1 additions and 1 deletions
|
@ -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([
|
||||
|
|
Loading…
Add table
Reference in a new issue