Skip to content

Commit

Permalink
[ticket/17010] Remove invalid int cast
Browse files Browse the repository at this point in the history
PHPBB3-17010
  • Loading branch information
marc1706 committed Apr 2, 2024
1 parent fcfed79 commit 7c36c0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion phpBB/phpbb/ucp/controller/webpush.php
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ public function unsubscribe(symfony_request $symfony_request): JsonResponse

$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([
Expand Down

0 comments on commit 7c36c0c

Please sign in to comment.