diff --git a/web/zm.php b/web/zm.php index 61228d2b8..e48e41721 100644 --- a/web/zm.php +++ b/web/zm.php @@ -851,6 +851,11 @@ function checkAll(form,name){ } elseif( $view == "image" ) { + $result = mysql_query( "select E.*,M.Name as MonitorName,M.Width,M.Height from Events as E, Monitors as M where E.Id = '$eid' and E.MonitorId = M.Id" ); + if ( !$result ) + die( mysql_error() ); + $event = mysql_fetch_assoc( $result ); + $result = mysql_query( "select * from Frames where EventID = '$eid' and FrameId = '$fid'" ); if ( !$result ) die( mysql_error() ); @@ -899,7 +904,7 @@ function deleteEvent() {