fixed minor error in net_tool

This commit is contained in:
daniel 2017-01-19 13:24:57 +01:00
parent 0f4c640f7b
commit f3d18132f3
1 changed files with 2 additions and 1 deletions

View File

@ -292,7 +292,8 @@ function godmode_net_tools() {
else {
if (isset($config['network_tools_config'])) {
$network_tools_config = json_decode($config['network_tools_config'], true);
$network_tools_config_output = io_safe_output($config['network_tools_config']);
$network_tools_config = json_decode($network_tools_config_output, true);
$traceroute_path = $network_tools_config['traceroute_path'];
$ping_path = $network_tools_config['ping_path'];
$nmap_path = $network_tools_config['nmap_path'];