From 109c25a1bd04ba27f19ecad23e174daef0fc691b Mon Sep 17 00:00:00 2001 From: Friendika Date: Wed, 6 Apr 2011 20:03:06 -0700 Subject: [PATCH] some fixes to attachment output in feed --- include/items.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/items.php b/include/items.php index 501f2f944..9eaee4573 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 .= '