Skip to content

Commit

Permalink
webui: Do not show Config tab for devices set to be excluded from oxi…
Browse files Browse the repository at this point in the history
…dized #4592 (#5029)
  • Loading branch information
laf committed Nov 21, 2016
1 parent a8cc469 commit 2bf496b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion html/pages/device.inc.php
Expand Up @@ -334,7 +334,7 @@
} // end if
}

if ($config['oxidized']['enabled'] === true && isset($config['oxidized']['url'])) {
if ($config['oxidized']['enabled'] === true && !in_array($device['type'], $config['oxidized']['ignore_types']) && isset($config['oxidized']['url'])) {
$device_config_file = true;
}
}
Expand Down

0 comments on commit 2bf496b

Please sign in to comment.