We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 896e1a7 commit ff61d77Copy full SHA for ff61d77
lib/data_query.php
@@ -2464,7 +2464,7 @@ function verify_index_order($raw_xml) {
2464
2465
/* list each of the input fields for this snmp query */
2466
foreach ($raw_xml['fields'] as $field_name => $field_array) {
2467
- if (isset($field_array['direction'])) {
+ if (is_array($field_array) && isset($field_array['direction'])) {
2468
if ($field_array['direction'] == 'input' || $field_array['direction'] == 'input-output') {
2469
/* create a list of all values for this index */
2470
array_push($xml_inputs, $field_name);
0 commit comments