]> git.mxchange.org Git - friendica.git/commitdiff
Allow contact creation in Module\Debug\Feed
authorHypolite Petovan <hypolite@mrpetovan.com>
Tue, 17 Aug 2021 12:20:58 +0000 (08:20 -0400)
committerHypolite Petovan <hypolite@mrpetovan.com>
Tue, 17 Aug 2021 12:20:58 +0000 (08:20 -0400)
- This module only allowed existing contact feeeds to be debugged

src/Module/Debug/Feed.php

index 18cafc50e463c53930964ba8f3b12c5b14e000c6..37504b0783654e6dc6f69df0f8e4a3e2b6ca623d 100644 (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']);