summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/part.items.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/part.items.php b/templates/part.items.php
index 486741f19..f41ea098d 100644
--- a/templates/part.items.php
+++ b/templates/part.items.php
@@ -42,7 +42,7 @@ foreach($items as $item) {
echo '<h1 class="item_title"><a target="_blank" href="' . $item->getUrl() . '">' . $item->getTitle() . '</a></h1>';
- echo '<h2 class="item_author">' . $l->t('from') . ' ' . parse_url($item->getUrl(), PHP_URL_PATH) . '</h2>';
+ echo '<h2 class="item_author">' . $l->t('from') . ' ' . parse_url($item->getUrl(), PHP_URL_HOST) . '</h2>';
echo '<div class="body">' . $item->getBody() . '</div>';