Merge pull request #10611 from MrPetovan/task/feed-debug-contact

Allow contact creation in Module\Debug\Feed
This commit is contained in:
Michael Vogel 2021-08-18 10:05:38 +02:00 committed by GitHub
commit 486328336f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -46,7 +46,7 @@ class Feed extends BaseModule
if (!empty($_REQUEST['url'])) {
$url = $_REQUEST['url'];
$contact = Model\Contact::getByURLForUser($url, local_user(), false);
$contact = Model\Contact::getByURLForUser($url, local_user(), null);
$xml = DI::httpRequest()->fetch($contact['poll']);