mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-30 17:25:26 +02:00
Merge branch 'ent-7762-External-Tools-SNMP-no-funciona' into 'develop'
Fixed type mismatch Closes pandora_enterprise#7762 See merge request artica/pandorafms!4260
This commit is contained in:
commit
3750b27d2c
@ -752,7 +752,7 @@ class ExternalTools extends HTML
|
|||||||
true
|
true
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
if ($operation === COMMAND_SNMP) {
|
if ((int) $operation === COMMAND_SNMP) {
|
||||||
$snmp_obj = [
|
$snmp_obj = [
|
||||||
'ip_target' => $ip,
|
'ip_target' => $ip,
|
||||||
'snmp_version' => $snmp_version,
|
'snmp_version' => $snmp_version,
|
||||||
@ -821,7 +821,7 @@ class ExternalTools extends HTML
|
|||||||
}
|
}
|
||||||
|
|
||||||
html_print_table($table);
|
html_print_table($table);
|
||||||
} else if ($operation === COMMAND_DIGWHOIS) {
|
} else if ((int) $operation === COMMAND_DIGWHOIS) {
|
||||||
echo '<h3>'.__('Domain and IP information for ').$ip.'</h3>';
|
echo '<h3>'.__('Domain and IP information for ').$ip.'</h3>';
|
||||||
|
|
||||||
// Dig execution.
|
// Dig execution.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user