Only parse the filter if it is valid. Remove unused filterQuery var

pull/2687/head
Isaac Connor 2019-08-20 10:03:44 -04:00
parent ed190340b9
commit 61926d3b85
1 changed files with 3 additions and 2 deletions

View File

@ -88,12 +88,13 @@ if ( isset($_REQUEST['filter']) ) {
}
}
} # end if REQUEST[Filter]
}
if ( count($filter) ) {
parseFilter($filter);
# This is to enable the download button
session_start();
zm_session_start();
$_SESSION['montageReviewFilter'] = $filter;
session_write_close();
$filterQuery = $filter['query'];
}
// Note that this finds incomplete events as well, and any frame records written, but still cannot "see" to the end frame