aboutsummaryrefslogtreecommitdiffstats
path: root/include/feedutils.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-04-19 17:52:15 -0700
committerzotlabs <mike@macgirvin.com>2017-04-19 17:52:15 -0700
commit1c6d2857cb6978ca7b87a0564013aa2b39024e96 (patch)
treeed4c6ddff0ff82a7dc1a59a2269a10590484339a /include/feedutils.php
parent397fef519c7929c70636c50015f7a0389062bab5 (diff)
downloadvolse-hubzilla-1c6d2857cb6978ca7b87a0564013aa2b39024e96.tar.gz
volse-hubzilla-1c6d2857cb6978ca7b87a0564013aa2b39024e96.tar.bz2
volse-hubzilla-1c6d2857cb6978ca7b87a0564013aa2b39024e96.zip
follow_from_feed issue when called from push
Diffstat (limited to 'include/feedutils.php')
-rw-r--r--include/feedutils.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/feedutils.php b/include/feedutils.php
index a5161dc6e..03eb1f256 100644
--- a/include/feedutils.php
+++ b/include/feedutils.php
@@ -946,7 +946,7 @@ function consume_feed($xml, $importer, &$contact, $pass = 0) {
$datarray['author_xchan'] = '';
if(activity_match($datarray['verb'],ACTIVITY_FOLLOW) && $datarray['obj_type'] === ACTIVITY_OBJ_PERSON) {
- $cb = array('item' => $datarray,'channel' => $importer, 'xchan' => null, 'author' => $author, 'caught' => false);
+ $cb = array('item' => $datarray,'channel' => $importer, 'xchan' => [ 'placeholder' => '' ], 'author' => $author, 'caught' => false);
call_hooks('follow_from_feed',$cb);
if($cb['caught']) {
if($cb['return_code'])