Skip to content

Commit 82ba9fa

Browse files
authored
Merge pull request #26 from iMattPro/fixes
Fix
2 parents 484a19c + d5ff16c commit 82ba9fa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ucp/controller/webpush.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ public function unsubscribe(symfony_request $symfony_request): JsonResponse
221221

222222
$sql = 'DELETE FROM ' . $this->push_subscriptions_table . '
223223
WHERE user_id = ' . (int) $this->user->id() . "
224-
AND endpoint = '" . (int) $this->db->sql_escape($endpoint) . "'";
224+
AND endpoint = '" . $this->db->sql_escape($endpoint) . "'";
225225
$this->db->sql_query($sql);
226226

227227
return new JsonResponse([

0 commit comments

Comments
 (0)