mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-12 01:54:26 +02:00
Fix some undefined variable/index notices in tests
This commit is contained in:
parent
28741c8366
commit
6776c4e3f9
5 changed files with 29 additions and 21 deletions
|
@ -109,6 +109,7 @@ class Probe
|
|||
$redirects = 0;
|
||||
|
||||
logger("Probing for ".$host, LOGGER_DEBUG);
|
||||
$xrd = null;
|
||||
|
||||
$ret = Network::curl($ssl_url, false, $redirects, ['timeout' => $xrd_timeout, 'accept_content' => 'application/xrd+xml']);
|
||||
if ($ret['success']) {
|
||||
|
@ -1510,6 +1511,7 @@ class Probe
|
|||
return false;
|
||||
}
|
||||
$feed = $ret['body'];
|
||||
$dummy1 = $dummy2 = $dummy3 = null;
|
||||
$feed_data = Feed::import($feed, $dummy1, $dummy2, $dummy3, true);
|
||||
|
||||
if (!$feed_data) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue