diff options
author | Mario <mario@mariovavti.com> | 2022-03-01 20:06:10 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2022-03-01 20:06:10 +0000 |
commit | 6930c4e23b8b24f7436c0e265d751460bed9b1d2 (patch) | |
tree | a6112b94505bbfbd81f13f33dba5dd5feef36283 /include | |
parent | 01b9f2dfcf3b23dcbf1dff06e7e42397840594a9 (diff) | |
download | volse-hubzilla-6930c4e23b8b24f7436c0e265d751460bed9b1d2.tar.gz volse-hubzilla-6930c4e23b8b24f7436c0e265d751460bed9b1d2.tar.bz2 volse-hubzilla-6930c4e23b8b24f7436c0e265d751460bed9b1d2.zip |
fix feedutils regression
Diffstat (limited to 'include')
-rw-r--r-- | include/feedutils.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/feedutils.php b/include/feedutils.php index fbd97b598..734018922 100644 --- a/include/feedutils.php +++ b/include/feedutils.php @@ -1355,7 +1355,7 @@ function consume_feed($xml, $importer, &$contact, $pass = 0) { } } - if(! post_is_importable($importer['channel_id'], $datarray, $contact)) + if(! post_is_importable($importer['channel_id'], $datarray, [$contact])) continue; $datarray['parent_mid'] = $datarray['mid']; @@ -1511,7 +1511,7 @@ function consume_feed($xml, $importer, &$contact, $pass = 0) { } } - if(! post_is_importable($importer['channel_id'], $datarray, $contact)) + if(! post_is_importable($importer['channel_id'], $datarray, [$contact])) continue; logger('author: ' . print_r($author, true), LOGGER_DEBUG); @@ -1766,8 +1766,8 @@ function handle_feed($uid, $abook_id, $url) { //logger('data:' . print_r($z, true), LOGGER_DATA); if($z['success']) { - consume_feed($z['body'], $channel, $x, 1); - consume_feed($z['body'], $channel, $x, 2); + consume_feed($z['body'], $channel, $x[0], 1); + consume_feed($z['body'], $channel, $x[0], 2); return true; } |