diff options
author | zotlabs <mike@macgirvin.com> | 2017-04-19 17:52:15 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2017-04-19 17:53:50 -0700 |
commit | 40f6280c48e7b5720211dd801f0bfa851658fa44 (patch) | |
tree | 42ca98195d4856533a093a4e6cf112b3287b70a8 /include/feedutils.php | |
parent | 09967598e15eb5d201bcc676ffb329b97e1b89b8 (diff) | |
download | volse-hubzilla-40f6280c48e7b5720211dd801f0bfa851658fa44.tar.gz volse-hubzilla-40f6280c48e7b5720211dd801f0bfa851658fa44.tar.bz2 volse-hubzilla-40f6280c48e7b5720211dd801f0bfa851658fa44.zip |
follow_from_feed issue when called from push
Diffstat (limited to 'include/feedutils.php')
-rw-r--r-- | include/feedutils.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/feedutils.php b/include/feedutils.php index 1865dfb27..0e6978d39 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']) |