From 082dbeec0685ef36d449ab94d876ef466daac75c Mon Sep 17 00:00:00 2001 From: ghost Date: Fri, 12 Jan 2024 22:47:26 +0200 Subject: [PATCH] update rss guid --- templates/default/rss/online.xml.twig | 2 +- templates/default/rss/players.xml.twig | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/default/rss/online.xml.twig b/templates/default/rss/online.xml.twig index 3f4b074..b9cabcb 100644 --- a/templates/default/rss/online.xml.twig +++ b/templates/default/rss/online.xml.twig @@ -7,7 +7,7 @@ {% for value in server.online %} {{ 'Online changed!' | trans }} - {{ url('server_index', { crc32server : server.crc32server, _fragment : 'online' }) }}-{{ value.id }} + {{ url('server_index', { crc32server : server.crc32server, guid: value.id, _fragment : 'online' }) }} {{ url('server_index', { crc32server : server.crc32server, _fragment : 'online' }) }} {{ 'Players' | trans }}: {{ value.players }} diff --git a/templates/default/rss/players.xml.twig b/templates/default/rss/players.xml.twig index 726e0ee..e5cda03 100644 --- a/templates/default/rss/players.xml.twig +++ b/templates/default/rss/players.xml.twig @@ -7,7 +7,7 @@ {% for player in server.players %} {{ player.name }} {{ 'joined' | trans }} {{ app.name }}! - {{ url('server_index', { crc32server : server.crc32server, _fragment : 'players' }) }}-{{ value.id }} + {{ url('server_index', { crc32server : server.crc32server, guid: value.id, _fragment : 'players' }) }} {{ url('server_index', { crc32server : server.crc32server, _fragment : 'players' }) }} {{ player.joined | date("D, d M Y h:i:s O") }}