Skip to content

Commit

Permalink
Merge pull request Elgg#14671 from RiverVanRain/patch-14
Browse files Browse the repository at this point in the history
fixed(rss): fatal error that occurred when enabling short_open_tag
  • Loading branch information
jeabakker authored Jul 29, 2024
2 parents 5a3950e + 5a9d8d4 commit 5337d1a
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 5337d1a

Please sign in to comment.