summaryrefslogtreecommitdiffstats
path: root/templates/part.items.php
diff options
context:
space:
mode:
authorAlessandro Cosentino <cosenal@gmail.com>2012-08-12 21:58:39 -0400
committerAlessandro Cosentino <cosenal@gmail.com>2012-08-12 21:58:39 -0400
commitd1459ce208daae48d2fa01ef3fe8131ce87b8cea (patch)
tree6e9bc12e883e57eeb84c5df328cff20c0d36d2e7 /templates/part.items.php
parentbe10a14e5877221041acd66a9da08e4514c8f8d1 (diff)
fix small issues arising from merge
Diffstat (limited to 'templates/part.items.php')
-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 e481bd2d2..49423236c 100644
--- a/templates/part.items.php
+++ b/templates/part.items.php
@@ -36,7 +36,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())['host'] . '</h2>';
+ echo '<h2 class="item_author">' . $l->t('from') . ' ' . parse_url($item->getUrl(), PHP_URL_PATH) . '</h2>';
echo '<div class="body">' . $item->getBody() . '</div>';