summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-04-20 09:12:28 +0300
committerAndrew Dolgov <[email protected]>2021-04-20 09:12:28 +0300
commitb3d45a4a5d3b7ebf5ec19224083e2bc862a2cb5e (patch)
treeffaa18859a2d6477b75a84f812540c20114226e0
parentcc634ba91dc74015226c1f39c866d5b8544ecbaf (diff)
parenta6c5dda7e0528c3ca5d416aff71f40d35549dba6 (diff)
Merge branch 'master' of git.tt-rss.org:fox/tt-rss
-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);