diff options
author | fox <[email protected]> | 2021-04-19 11:48:36 +0300 |
---|---|---|
committer | fox <[email protected]> | 2021-04-19 11:48:36 +0300 |
commit | a6c5dda7e0528c3ca5d416aff71f40d35549dba6 (patch) | |
tree | 64e555269b80fc83ff6c24c9481ba50965f2d271 | |
parent | 0f61675cd02ac53549fda33cbdb9551cb0fb70b2 (diff) | |
parent | cfd9e6b53b644d48fe4d882a89442a65c5673a2a (diff) |
Merge pull request 'FIX: public.php - Undefined index: feed_title' (#34) from ohaucke/tt-rss:public-php-fix into master
Reviewed-on: https://git.tt-rss.org/fox/tt-rss/pulls/34
-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); |