Remove debug

This commit is contained in:
Isaac Connor 2019-09-22 21:06:54 -04:00
parent 8d95b2f5f8
commit 23b3ae5783
1 changed files with 2 additions and 3 deletions

View File

@ -119,9 +119,8 @@ private $status_fields = array(
if ( !array_key_exists('Control', $this) ) {
if ( $this->ControlId() )
$this->{'Control'} = Control::find_one(array('Id'=>$this->{'ControlId'}));
else
Error("No ControlId".print_r($this,true));
if ( !(array_key_exists('Control', $this) and $this->{'Control'} ) )
if ( !(array_key_exists('Control', $this) and $this->{'Control'}) )
$this->{'Control'} = new Control();
}
return $this->{'Control'};