Skip to content

Commit f8b66cb

Browse files
committed
Fix emoji in site name in notification
1 parent 2a8b81b commit f8b66cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ucp/controller/webpush.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ private function get_notification_data(string $notification_data): string
240240
$this->user_loader->load_users($notification->users_to_query());
241241

242242
return json_encode([
243-
'heading' => $this->config['sitename'],
243+
'heading' => ext::decode_entities($this->config['sitename'], ENT_QUOTES),
244244
'title' => strip_tags(ext::decode_entities($notification->get_title())),
245245
'text' => strip_tags(ext::decode_entities($notification->get_reference())),
246246
'url' => htmlspecialchars_decode($notification->get_url()),

0 commit comments

Comments
 (0)