ServerId can be 0

pull/1637/head
Isaac Connor 2016-09-21 10:30:31 -04:00
parent e0b0b42966
commit 091459004c
1 changed files with 1 additions and 1 deletions

View File

@ -171,7 +171,7 @@ private $control_fields = array(
}
}
public function getStreamSrc( $args, $querySep='&' ) {
if ( isset($this->{'ServerId'}) ) {
if ( isset($this->{'ServerId'}) and $this->{'ServerId'} ) {
$Server = new Server( $this->{'ServerId'} );
$streamSrc = ZM_BASE_PROTOCOL.'://'.$Server->Hostname().ZM_PATH_ZMS;
} else {