summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-04-21 18:48:46 +0300
committerAndrew Dolgov <[email protected]>2021-04-21 18:48:46 +0300
commitc6befcddb74c6a4b507d6b8b687c43e5ad0c4d82 (patch)
tree8212e224a655cc5aac7fc11d8d59e284aeaa1806 /classes
parent5a71426ea5bc387f362d700fbceb277516d41375 (diff)
parentb3d45a4a5d3b7ebf5ec19224083e2bc862a2cb5e (diff)
Merge branch 'master' of git.fakecake.org:fox/tt-rss
Diffstat (limited to 'classes')
-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);