Allow contact creation in Module\Debug\Feed

- This module only allowed existing contact feeeds to be debugged
This commit is contained in:
Hypolite Petovan 2021-08-17 08:20:58 -04:00
parent 64d6df659d
commit a04944d443
1 changed files with 1 additions and 1 deletions

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']);