aboutsummaryrefslogtreecommitdiffstats
path: root/include/items.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-01-17 16:06:22 -0800
committerFriendika <info@friendika.com>2011-01-17 16:06:22 -0800
commit710cb7d13c005b244cf50d2f33479b68596d1330 (patch)
treea677f51ed7c6b62b4a39f888ad435bea87703932 /include/items.php
parent93222142935897d8ddd6289d9ea8736ff0c557f6 (diff)
downloadvolse-hubzilla-710cb7d13c005b244cf50d2f33479b68596d1330.tar.gz
volse-hubzilla-710cb7d13c005b244cf50d2f33479b68596d1330.tar.bz2
volse-hubzilla-710cb7d13c005b244cf50d2f33479b68596d1330.zip
activity object link had incorrect attribute, highlight critical install steps
Diffstat (limited to 'include/items.php')
-rw-r--r--include/items.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/items.php b/include/items.php
index 1a5ca5a1f..c076e0fbf 100644
--- a/include/items.php
+++ b/include/items.php
@@ -35,6 +35,7 @@ function get_feed_for(&$a, $dfrn_id, $owner_nick, $last_update, $direction = 0)
else
killme();
+
/**
*
* Determine the next birthday, but only if the birthday is published
@@ -571,7 +572,7 @@ function encode_rel_links($links) {
if($link['attribs']['']['type'])
$o .= 'type="' . $link['attribs']['']['type'] . '" ';
if($link['attribs']['']['href'])
- $o .= 'type="' . $link['attribs']['']['href'] . '" ';
+ $o .= 'href="' . $link['attribs']['']['href'] . '" ';
if( (x($link['attribs'],NAMESPACE_MEDIA)) && $link['attribs'][NAMESPACE_MEDIA]['width'])
$o .= 'media:width="' . $link['attribs'][NAMESPACE_MEDIA]['width'] . '" ';
if( (x($link['attribs'],NAMESPACE_MEDIA)) && $link['attribs'][NAMESPACE_MEDIA]['height'])