This commit is contained in:
Laurent Destailleur 2024-04-30 21:14:53 +02:00
parent eda839a49a
commit 95467db0c7

View file

@ -1023,7 +1023,7 @@ if ($fh) {
fwrite($fh, '<link>' . htmlspecialchars($alert['url_commit']) . '</link>'."\n");
$tmpdate = strtotime($alert['created_at']);
fwrite($fh, '<pubDate>' . htmlspecialchars(date('r', $tmpdate)) . '</pubDate>'."\n");
fwrite($fh, '<guid isPermaLink="true"><![CDATA['.htmlspecialchars($alert['commitid']).']]></guid>'."\n");
fwrite($fh, '<guid isPermaLink="false"><![CDATA['.htmlspecialchars($alert['commitid']).']]></guid>'."\n");
fwrite($fh, '</item>'."\n");
}