We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7211d56 commit 8909569Copy full SHA for 8909569
lib/Service/GlobalScaleService.php
@@ -267,7 +267,11 @@ private function getLocalInstance(bool $all): array {
267
$absolute = $this->urlGenerator->linkToRouteAbsolute('circles.Navigation.navigate');
268
$local = parse_url($absolute);
269
270
- return [$local['host'] . ':' . $local['port']];
+ if (array_key_exists('port', $local)) {
271
+ return [$local['host'] . ':' . $local['port']];
272
+ } else {
273
+ return [$local['host']];
274
+ }
275
}
276
277
0 commit comments