mirror of
https://github.com/friendica/friendica
synced 2025-04-23 16:30:12 +00:00
activity object link had incorrect attribute, highlight critical install steps
This commit is contained in:
parent
9322214293
commit
710cb7d13c
3 changed files with 10 additions and 3 deletions
|
@ -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'])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue