if doing multiport still call Url(), as it requires a hostname

This commit is contained in:
Isaac Connor 2019-11-11 13:33:54 -05:00
parent c1913cdbc4
commit 59b9220ddd
1 changed files with 1 additions and 1 deletions

View File

@ -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();