pull/2809/head
Isaac Connor 2020-01-10 20:15:52 -05:00
parent fabb7180d6
commit 398688550b
1 changed files with 1 additions and 1 deletions

View File

@ -130,7 +130,7 @@ class Monitor extends ZM_Object {
public function Server() {
if ( !property_exists($this, 'Server') ) {
if ( $this->ServerId() )
$_this->{'Server'} = Server::find_one(array('Id'=>$this->{'ServerId'}));
$this->{'Server'} = Server::find_one(array('Id'=>$this->{'ServerId'}));
if ( !property_exists($this, 'Server') ) {
$this->{'Server'} = new Server();
}