quiet the logs on initial view load

This commit is contained in:
Isaac Connor 2016-09-14 12:49:47 -04:00
parent a0eaea00a5
commit cf45feea66
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ if ( !empty($_REQUEST['group']) ) {
$groupSql = " and find_in_set( Id, '".$row['MonitorIds']."' )";
}
$mid = validInt($_REQUEST['mid']);
$mid = !empty($_REQUEST['mid']) ? validInt($_REQUEST['mid']) : 0;
$sql = "SELECT * FROM Monitors WHERE Function != 'None' AND Controllable = 1$groupSql ORDER BY Sequence";
$mids = array();