From 4634049549fb0ee7350bb6328f24b36c21a19855 Mon Sep 17 00:00:00 2001 From: friendica Date: Thu, 9 Oct 2014 20:59:33 -0700 Subject: allow (our own) ajax urls to pass through bbcode intact. --- include/zot.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/zot.php') diff --git a/include/zot.php b/include/zot.php index 9ea92aed8..63a5645d3 100644 --- a/include/zot.php +++ b/include/zot.php @@ -1472,11 +1472,12 @@ function process_delivery($sender,$arr,$deliveries,$relay,$public = false) { $arr['uid'] = $channel['channel_id']; update_imported_item($sender,$arr,$channel['channel_id']); $result[] = array($d['hash'],'updated',$channel['channel_name'] . ' <' . $channel['channel_address'] . '@' . get_app()->get_hostname() . '>',$arr['mid']); + $item_id = $r[0]['id']; } else { $result[] = array($d['hash'],'update ignored',$channel['channel_name'] . ' <' . $channel['channel_address'] . '@' . get_app()->get_hostname() . '>',$arr['mid']); + continue; } - $item_id = $r[0]['id']; } else { $arr['aid'] = $channel['channel_account_id']; -- cgit v1.2.3