diff options
author | friendica <info@friendica.com> | 2014-09-24 02:08:35 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-09-24 02:08:35 -0700 |
commit | 95470a9f9b1f2ceff096b1704eca6a9deb21418f (patch) | |
tree | c07fc4c16750355c9098d2d522c305cbf251d943 | |
parent | be54f0d9e649f634f2b027e75aef07d197901512 (diff) | |
download | volse-hubzilla-95470a9f9b1f2ceff096b1704eca6a9deb21418f.tar.gz volse-hubzilla-95470a9f9b1f2ceff096b1704eca6a9deb21418f.tar.bz2 volse-hubzilla-95470a9f9b1f2ceff096b1704eca6a9deb21418f.zip |
one step closer
-rwxr-xr-x | include/items.php | 4 |
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(); |