Merge remote-tracking branch 'origin/develop' into ent-7074-Command-Center

This commit is contained in:
fbsanchez 2021-07-05 20:56:48 +02:00
commit 198e4bf6a3
2 changed files with 2 additions and 3 deletions

View File

@ -752,7 +752,7 @@ class ExternalTools extends HTML
true
);
} else {
if ($operation === COMMAND_SNMP) {
if ((int) $operation === COMMAND_SNMP) {
$snmp_obj = [
'ip_target' => $ip,
'snmp_version' => $snmp_version,
@ -821,7 +821,7 @@ class ExternalTools extends HTML
}
html_print_table($table);
} else if ($operation === COMMAND_DIGWHOIS) {
} else if ((int) $operation === COMMAND_DIGWHOIS) {
echo '<h3>'.__('Domain and IP information for ').$ip.'</h3>';
// Dig execution.

View File

@ -993,7 +993,6 @@ class Tree
$inner
GROUP BY g
ORDER BY $order_by_final";
hd($sql, true);
return $sql;
}