Fix link to image in RSS

This commit is contained in:
Laurent Destailleur 2024-04-11 12:10:38 +02:00
parent a63614593b
commit 84db53ef63

View file

@ -116,6 +116,8 @@ if ($rss) {
if (is_array($arrayofblogs)) {
foreach ($arrayofblogs as $blog) {
$blog->fullpageurl = $website->virtualhost.'/'.$blog->pageurl.'.php';
$blog->image = preg_replace('/__WEBSITE_KEY__/', $websitekey, $blog->image);
$eventarray[] = $blog;
}
}