Skip to content

Commit

Permalink
Merge pull request #26 from iMattPro/fixes
Browse files Browse the repository at this point in the history
Fix
  • Loading branch information
iMattPro authored Apr 3, 2024
2 parents 484a19c + d5ff16c commit 82ba9fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ucp/controller/webpush.php
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,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 82ba9fa

Please sign in to comment.