diff options
author | Oliver Haucke <[email protected]> | 2021-04-19 10:43:30 +0200 |
---|---|---|
committer | Oliver Haucke <[email protected]> | 2021-04-19 10:43:30 +0200 |
commit | cfd9e6b53b644d48fe4d882a89442a65c5673a2a (patch) | |
tree | 64e555269b80fc83ff6c24c9481ba50965f2d271 /classes/handler/public.php | |
parent | 0f61675cd02ac53549fda33cbdb9551cb0fb70b2 (diff) |
FIX: public.php - Undefined index: feed_title
Diffstat (limited to 'classes/handler/public.php')
-rwxr-xr-x | classes/handler/public.php | 2 |
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); |