SNMP filters mesage empty
This commit is contained in:
parent
6642f2e6d3
commit
d1ace9d560
|
@ -314,6 +314,7 @@ if ($edit_filter > -2) {
|
|||
$table->size[2] = '65px';
|
||||
$table->align[2] = 'center';
|
||||
|
||||
if (empty($aglomerate_result) === false) {
|
||||
foreach ($aglomerate_result as $ind => $row) {
|
||||
if ($ind == 0) {
|
||||
foreach ($row as $r) {
|
||||
|
@ -346,6 +347,9 @@ if ($edit_filter > -2) {
|
|||
array_push($table->data, $data);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
ui_print_info_message(['no_close' => true, 'message' => __('There are no SNMP Filters defined yet.') ]);
|
||||
}
|
||||
|
||||
if (!empty($table->data)) {
|
||||
html_print_table($table);
|
||||
|
|
Loading…
Reference in New Issue