Fix wrong variable

This commit is contained in:
Michael 2020-12-22 08:24:56 +00:00
parent a5096ea549
commit ae8a376eab

View file

@ -427,7 +427,7 @@ class GServer
$serverdata = self::detectHubzilla($url, $serverdata);
}
if (empty($serverdata['network']) || in_array($basedata['detection-method'], [self::DETECT_MANUAL, self::DETECT_BODY])) {
if (empty($serverdata['network']) || in_array($serverdata['detection-method'], [self::DETECT_MANUAL, self::DETECT_BODY])) {
$serverdata = self::detectPeertube($url, $serverdata);
}