aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authormarijus <mario@mariovavti.com>2015-01-22 04:57:59 +0100
committermarijus <mario@mariovavti.com>2015-01-22 04:57:59 +0100
commit3731ff97ffa9d6c98c7287458edd783823f68305 (patch)
tree8b24cfe5994924d131e9dc60f32b653ee5f77871 /include
parent200220ff367af9aab6b19a64ec259f5eb68efbea (diff)
downloadvolse-hubzilla-3731ff97ffa9d6c98c7287458edd783823f68305.tar.gz
volse-hubzilla-3731ff97ffa9d6c98c7287458edd783823f68305.tar.bz2
volse-hubzilla-3731ff97ffa9d6c98c7287458edd783823f68305.zip
make $links an array of links
Diffstat (limited to 'include')
-rw-r--r--include/attach.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/attach.php b/include/attach.php
index 673e438bf..a6757744f 100644
--- a/include/attach.php
+++ b/include/attach.php
@@ -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