mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-04-08 18:55:09 +02:00
#12357 fixed pagination datatable
This commit is contained in:
parent
b5098ab0e5
commit
34c66981be
@ -738,7 +738,7 @@ class SnmpConsole extends HTML
|
||||
$sql_count = sprintf($sql_count, $whereSubquery);
|
||||
|
||||
$traps = db_get_all_rows_sql($sql, true);
|
||||
$total = (int) db_get_value_sql($sql_count, false, true);
|
||||
$total = (int) db_get_value_sql($sql_count, false, false);
|
||||
|
||||
if (empty($traps) === false) {
|
||||
$data = $traps;
|
||||
|
Loading…
x
Reference in New Issue
Block a user