Fixed api *log date format (#10133)

fixes #10089
This commit is contained in:
Tony Murray
2019-04-23 08:26:50 -05:00
committed by PipoCanaja
parent 6e6e54cb98
commit 0a12ede577

View File

@ -2246,8 +2246,8 @@ function list_logs()
$start = (int)$_GET['start'] ?: 0;
$limit = (int)$_GET['limit'] ?: 50;
$from = (int)$_GET['from'];
$to = (int)$_GET['to'];
$from = $_GET['from'];
$to = $_GET['to'];
$count_query = 'SELECT COUNT(*)';
$full_query = "SELECT `devices`.`hostname`, `devices`.`sysName`, ";