make $links an array of links

This commit is contained in:
marijus
2015-01-22 04:57:59 +01:00
parent 200220ff36
commit 3731ff97ff
2 changed files with 4 additions and 2 deletions

View File

@@ -968,7 +968,8 @@ function file_activity($channel_id, $hash, $cloudpath, $allow_cid, $allow_gid, $
$item_flags = ITEM_WALL|ITEM_ORIGIN|ITEM_UNSEEN;
$links = array(
$links = array();
$links[] = array(
'rel' => 'alternate',
'type' => 'text/html',
'href' => $url