if doing multiport still call Url(), as it requires a hostname
This commit is contained in:
parent
c1913cdbc4
commit
59b9220ddd
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue