mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +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);
|
$sql_count = sprintf($sql_count, $whereSubquery);
|
||||||
|
|
||||||
$traps = db_get_all_rows_sql($sql, true);
|
$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) {
|
if (empty($traps) === false) {
|
||||||
$data = $traps;
|
$data = $traps;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user