From: Friendika Date: Thu, 7 Apr 2011 03:03:06 +0000 (-0700) Subject: some fixes to attachment output in feed X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=109c25a1bd04ba27f19ecad23e174daef0fc691b;p=friendica.git some fixes to attachment output in feed --- 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 .= '