From df0b4b8766cc2839cd6478770449ed1dad168d56 Mon Sep 17 00:00:00 2001 From: ghost Date: Sat, 2 Sep 2023 00:35:28 +0300 Subject: [PATCH] define comment namespace in magnet RSS feed --- src/public/magnet.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/public/magnet.php b/src/public/magnet.php index 7251660..794ecd3 100644 --- a/src/public/magnet.php +++ b/src/public/magnet.php @@ -137,15 +137,15 @@ else ]; } -if (isset($_GET['rss']) && $response->success) { ?>success) { ?>' . PHP_EOL ?> - + + magnet->magnetId) ?> <?php echo sprintf(_('%s - Comments - %s'), htmlentities($response->magnet->metaTitle), WEBSITE_NAME) ?> - magnet->magnetId) ?> getMagnetComments($response->magnet->magnetId) as $magnetComment) { ?> user->address == $db->getUser($magnetComment->userId)->address || in_array($response->user->address, MODERATOR_IP_LIST)) { ?> @@ -362,7 +362,7 @@ echo '' . PHP_EOL ?>

- +
getMagnetComments($response->magnet->magnetId) as $magnetComment) { ?>