From 091459004ce08cbc3463b193332571a19cd7342f Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Wed, 21 Sep 2016 10:30:31 -0400 Subject: [PATCH] ServerId can be 0 --- web/includes/Monitor.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/includes/Monitor.php b/web/includes/Monitor.php index 1e85d90ce..4dd2e6a2a 100644 --- a/web/includes/Monitor.php +++ b/web/includes/Monitor.php @@ -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 {