don't generate tumbnails when not running

pull/3019/head
Andrew Bauer 2020-08-21 21:14:16 -05:00
parent 39d538d5cf
commit c8e40eb5b3
1 changed files with 1 additions and 1 deletions

View File

@ -284,7 +284,7 @@ for( $monitor_i = 0; $monitor_i < count($displayMonitors); $monitor_i += 1 ) {
<?php
}
$imgHTML='';
if ( ZM_WEB_LIST_THUMBS ) {
if ( ZM_WEB_LIST_THUMBS && $monitor['Status'] = 'Running' && $running ) {
$options = array();
$options['width'] = ZM_WEB_LIST_THUMB_WIDTH;
$options['height'] = ZM_WEB_LIST_THUMB_HEIGHT;