#9999 changed value limit in sql filter

This commit is contained in:
Daniel Cebrian 2023-01-05 13:47:51 +01:00
parent 7906c8fe2f
commit a1421b9138
1 changed files with 1 additions and 3 deletions

View File

@ -850,11 +850,9 @@ if ($get_agent_alerts_datatable === true) {
} else {
$options_simple = [
'order' => $order,
'limit' => ($length > 0) ? $length : 18446744073709551615,
'offset' => $start,
];
if ($length > 0) {
$options_simple['limit'] = $length;
}
}
if ($idAgent !== 0) {