fix MonitorId is part of event, not frame
This commit is contained in:
parent
2adb17ad90
commit
9e5f52a0ae
|
@ -70,7 +70,7 @@ class Frame {
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getImageSrc( $show='capture' ) {
|
public function getImageSrc( $show='capture' ) {
|
||||||
return $_SERVER['PHP_SELF'].'?view=image&fid='.$this->{'Id'}.'&show='.$show.'&filename='.$this->{'MonitorId'}.'_'.$this->{'EventId'}.'_'.$this->{'FrameId'}.'.jpg';
|
return $_SERVER['PHP_SELF'].'?view=image&fid='.$this->{'Id'}.'&show='.$show.'&filename='.$this->Event()->MonitorId().'_'.$this->{'EventId'}.'_'.$this->{'FrameId'}.'.jpg';
|
||||||
} // end function getImageSrc
|
} // end function getImageSrc
|
||||||
|
|
||||||
public static function find( $parameters = array(), $limit = NULL ) {
|
public static function find( $parameters = array(), $limit = NULL ) {
|
||||||
|
|
Loading…
Reference in New Issue