aboutsummaryrefslogtreecommitdiffstats
path: root/include/items.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-09-01 20:59:53 -0700
committerfriendica <info@friendica.com>2014-09-01 20:59:53 -0700
commit688722de5bf928c53fa694e0469f81c4ac2b646d (patch)
tree441e364bdf0a3647e9ff737fdbb6af3476695acd /include/items.php
parent5aa18a11af4ec4d40834abdcc06c2914f9296eb5 (diff)
downloadvolse-hubzilla-688722de5bf928c53fa694e0469f81c4ac2b646d.tar.gz
volse-hubzilla-688722de5bf928c53fa694e0469f81c4ac2b646d.tar.bz2
volse-hubzilla-688722de5bf928c53fa694e0469f81c4ac2b646d.zip
fix phantom attachments in feeds
Diffstat (limited to 'include/items.php')
-rwxr-xr-xinclude/items.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/items.php b/include/items.php
index ca6737f8f..370dd5c72 100755
--- a/include/items.php
+++ b/include/items.php
@@ -1592,8 +1592,8 @@ function get_atom_elements($feed,$item,&$author) {
$title = ' ';
if(! $type)
$type = 'application/octet-stream';
+ $res['attach'][] = array('href' => $link, 'length' => $len, 'type' => $type, 'title' => $title );
}
- $res['attach'][] = array('href' => $link, 'length' => $len, 'type' => $type, 'title' => $title );
}
$rawobj = $item->get_item_tags(NAMESPACE_ACTIVITY, 'object');