aboutsummaryrefslogtreecommitdiffstats
path: root/include/zot.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-10-09 20:59:33 -0700
committerfriendica <info@friendica.com>2014-10-09 20:59:33 -0700
commit4634049549fb0ee7350bb6328f24b36c21a19855 (patch)
tree10ff593e8ed4216b02556ca26054e7e5226eac89 /include/zot.php
parentc78227292709f8f36206c7234dbf3548e476d442 (diff)
downloadvolse-hubzilla-4634049549fb0ee7350bb6328f24b36c21a19855.tar.gz
volse-hubzilla-4634049549fb0ee7350bb6328f24b36c21a19855.tar.bz2
volse-hubzilla-4634049549fb0ee7350bb6328f24b36c21a19855.zip
allow (our own) ajax urls to pass through bbcode intact.
Diffstat (limited to 'include/zot.php')
-rw-r--r--include/zot.php3
1 files changed, 2 insertions, 1 deletions
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'];