summaryrefslogtreecommitdiff
path: root/classes/handler
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-10-06 11:28:06 +0400
committerAndrew Dolgov <[email protected]>2013-10-06 11:28:06 +0400
commit0ee126ee8faa40cb876f8b8a72c006ee89c2e17c (patch)
treeacc123befaaa0f9f393ad4cf91b88e0d5344ada2 /classes/handler
parentf44d59992edac23206f593e240f0e445c571b661 (diff)
remove a few parser warnings from generated feeds
Diffstat (limited to 'classes/handler')
-rw-r--r--classes/handler/public.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/handler/public.php b/classes/handler/public.php
index c5a2a03cb..a656ed63b 100644
--- a/classes/handler/public.php
+++ b/classes/handler/public.php
@@ -123,7 +123,7 @@ class Handler_Public extends Handler {
$tpl->setVariable('ARTICLE_AUTHOR', htmlspecialchars($line['author']), true);
$tpl->setVariable('ARTICLE_SOURCE_LINK', htmlspecialchars($line['site_url']), true);
- $tpl->setVariable('ARTICLE_SOURCE_TITLE', htmlspecialchars($line['feed_title']), true);
+ $tpl->setVariable('ARTICLE_SOURCE_TITLE', htmlspecialchars($line['feed_title'] ? $line['feed_title'] : $feed_title), true);
$tags = get_article_tags($line["id"], $owner_uid);