From 59b9220dddb644986c5fc62a75043a0c3bbc2f30 Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Mon, 11 Nov 2019 13:33:54 -0500 Subject: [PATCH] if doing multiport still call Url(), as it requires a hostname --- web/includes/Server.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/includes/Server.php b/web/includes/Server.php index 7bea5784c..7238afa7c 100644 --- a/web/includes/Server.php +++ b/web/includes/Server.php @@ -89,7 +89,7 @@ class Server extends ZM_Object { } public function UrlToZMS( $port = null ) { - if ( $this->Id() ) { + if ( $this->Id() or $port ) { return $this->Url($port).$this->PathToZMS(); } return $this->PathToZMS();