diff --git a/include/items.php b/include/items.php index 501f2f9447..9eaee45736 100644 --- a/include/items.php +++ b/include/items.php @@ -1584,14 +1584,14 @@ function item_getfeedtags($item) { } function item_getfeedattach($item) { - $ret = array(); + $ret = ''; $arr = explode(',',$item['attach']); if(count($arr)) { foreach($arr as $r) { $matches = false; - $cnt = preg_match('|\(.+?)|',$item['attach'],$matches); + $cnt = preg_match('|\(.+?)|',$r,$matches); if($cnt) { - $ret .= '