mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
fix: Set API log start at 0 rather than 1(#7772)
This commit is contained in:
committed by
Neil Lathwood
parent
0c83bd051b
commit
c56f04e1e2
@@ -1662,7 +1662,7 @@ function list_logs()
|
|||||||
$message = '';
|
$message = '';
|
||||||
$status = 'ok';
|
$status = 'ok';
|
||||||
$code = 200;
|
$code = 200;
|
||||||
$start = mres($_GET['start']) ?: 1;
|
$start = mres($_GET['start']) ?: 0;
|
||||||
$limit = mres($_GET['limit']) ?: 50;
|
$limit = mres($_GET['limit']) ?: 50;
|
||||||
$from = mres($_GET['from']);
|
$from = mres($_GET['from']);
|
||||||
$to = mres($_GET['to']);
|
$to = mres($_GET['to']);
|
||||||
|
Reference in New Issue
Block a user