summaryrefslogtreecommitdiffstats
path: root/templates/part.items.php
diff options
context:
space:
mode:
authorAlessandro Cosentino <cosenal@gmail.com>2012-08-14 10:56:53 -0400
committerAlessandro Cosentino <cosenal@gmail.com>2012-08-14 10:56:53 -0400
commitded448fd10b1383c5c48eb90e7659550b1db7b01 (patch)
tree10e534434be40409f2c3fa2c3e2ea16395f13518 /templates/part.items.php
parentd6e5a8f02c7481e214a4a2ee7c6d7a9b7e3a2b45 (diff)
fixes url parsing component
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 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>';