summaryrefslogtreecommitdiff
path: root/classes/handler
diff options
context:
space:
mode:
authorOliver Haucke <[email protected]>2021-04-19 10:43:30 +0200
committerOliver Haucke <[email protected]>2021-04-19 10:43:30 +0200
commitcfd9e6b53b644d48fe4d882a89442a65c5673a2a (patch)
tree64e555269b80fc83ff6c24c9481ba50965f2d271 /classes/handler
parent0f61675cd02ac53549fda33cbdb9551cb0fb70b2 (diff)
FIX: public.php - Undefined index: feed_title
Diffstat (limited to 'classes/handler')
-rwxr-xr-xclasses/handler/public.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/handler/public.php b/classes/handler/public.php
index 98042111b..4da32e90d 100755
--- a/classes/handler/public.php
+++ b/classes/handler/public.php
@@ -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);