diff options
-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(); |