We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 484a19c + d5ff16c commit 82ba9faCopy full SHA for 82ba9fa
1 file changed
ucp/controller/webpush.php
@@ -221,7 +221,7 @@ public function unsubscribe(symfony_request $symfony_request): JsonResponse
221
222
$sql = 'DELETE FROM ' . $this->push_subscriptions_table . '
223
WHERE user_id = ' . (int) $this->user->id() . "
224
- AND endpoint = '" . (int) $this->db->sql_escape($endpoint) . "'";
+ AND endpoint = '" . $this->db->sql_escape($endpoint) . "'";
225
$this->db->sql_query($sql);
226
227
return new JsonResponse([
0 commit comments