Revert "Update functions_atom.php"

This reverts commit 2a6f3452b0.
This commit is contained in:
Roman Kelesidis 2023-12-16 16:19:52 +07:00
parent 2a6f3452b0
commit 9445b1f2dd

View File

@ -194,6 +194,7 @@ function create_atom ($file_path, $mode, $id, $title, $topics)
{ {
$atom .= " <link href=\"" . TOPIC_URL . $topic_id . "\" />\n"; $atom .= " <link href=\"" . TOPIC_URL . $topic_id . "\" />\n";
} }
if ($bb_cfg['atom']['direct_view']) if ($bb_cfg['atom']['direct_view'])
{ {
$atom .= " <description>" . $topic['post_html'] . "\n\nNews URL: " . FULL_URL . TOPIC_URL . $topic_id . "</description>\n"; $atom .= " <description>" . $topic['post_html'] . "\n\nNews URL: " . FULL_URL . TOPIC_URL . $topic_id . "</description>\n";