Skip to content

Commit

Permalink
fixed(rss): fatal error that occurred when enabling short_open_tag
Browse files Browse the repository at this point in the history
  • Loading branch information
RiverVanRain authored Jul 29, 2024
1 parent 5a3950e commit 5a9d8d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion views/rss/page/default.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@
elgg_set_http_header('Pragma: public');
elgg_set_http_header('Content-Type: text/xml; charset=utf-8');

echo "<?xml version='1.0'?>";
?>
<?xml version='1.0'?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:atom="http://www.w3.org/2005/Atom" <?= $namespaces; ?>>
<channel>
<title><![CDATA[<?= $title; ?>}]]></title>
Expand Down

0 comments on commit 5a9d8d4

Please sign in to comment.