mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
Fixed snmp interfaces
This commit is contained in:
parent
c613828777
commit
46d40b72c2
@ -1452,7 +1452,7 @@ class AgentWizard extends HTML
|
||||
foreach (array_keys($data) as $k) {
|
||||
foreach ($modulesActivated as $key => $value) {
|
||||
$valueStr = preg_replace('/\//', '\/', $value);
|
||||
if (empty(preg_match('/'.$valueStr.'$/', $k)) === false) {
|
||||
if (empty(preg_match('/-'.$valueStr.'$/', $k)) === false) {
|
||||
if (empty(preg_match('/module-name-set/', $k)) === false) {
|
||||
$result[$value]['name'] = $data[$k];
|
||||
} else if (empty(preg_match('/module-description-set/', $k)) === false) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user