aboutsummaryrefslogtreecommitdiffstats
path: root/include/items.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-09-24 02:08:35 -0700
committerfriendica <info@friendica.com>2014-09-24 02:08:35 -0700
commit95470a9f9b1f2ceff096b1704eca6a9deb21418f (patch)
treec07fc4c16750355c9098d2d522c305cbf251d943 /include/items.php
parentbe54f0d9e649f634f2b027e75aef07d197901512 (diff)
downloadvolse-hubzilla-95470a9f9b1f2ceff096b1704eca6a9deb21418f.tar.gz
volse-hubzilla-95470a9f9b1f2ceff096b1704eca6a9deb21418f.tar.bz2
volse-hubzilla-95470a9f9b1f2ceff096b1704eca6a9deb21418f.zip
one step closer
Diffstat (limited to 'include/items.php')
-rwxr-xr-xinclude/items.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/items.php b/include/items.php
index e4339e5f6..e46d9351e 100755
--- a/include/items.php
+++ b/include/items.php
@@ -1718,9 +1718,11 @@ function get_atom_elements($feed,$item,&$author) {
);
}
}
- $res['term'] = $terms;
}
+ if(! is_null($terms))
+ $res['term'] = $terms;
+
$attach = $item->get_enclosures();
if($attach) {
$res['attach'] = array();