Allow contact creation in Module\Debug\Feed
- This module only allowed existing contact feeeds to be debugged
This commit is contained in:
parent
64d6df659d
commit
a04944d443
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ class Feed extends BaseModule
|
||||||
if (!empty($_REQUEST['url'])) {
|
if (!empty($_REQUEST['url'])) {
|
||||||
$url = $_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']);
|
$xml = DI::httpRequest()->fetch($contact['poll']);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue