1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 03:05:55 +00:00

FIX: public.php - Undefined index: feed_title

This commit is contained in:
Oliver Haucke
2021-04-19 10:43:30 +02:00
parent 0f61675cd0
commit cfd9e6b53b

View File

@@ -125,7 +125,7 @@ class Handler_Public extends Handler {
$tpl->setVariable('ARTICLE_AUTHOR', htmlspecialchars($line['author']), true);
$tpl->setVariable('ARTICLE_SOURCE_LINK', htmlspecialchars($line['site_url'] ? $line["site_url"] : get_self_url_prefix()), true);
$tpl->setVariable('ARTICLE_SOURCE_TITLE', htmlspecialchars($line['feed_title'] ? $line['feed_title'] : $feed_title), true);
$tpl->setVariable('ARTICLE_SOURCE_TITLE', htmlspecialchars($line['feed_title'] ?? $feed_title), true);
foreach ($line["tags"] as $tag) {
$tpl->setVariable('ARTICLE_CATEGORY', htmlspecialchars($tag), true);