mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-04-08 18:55:09 +02:00
fix warning plugintools
This commit is contained in:
parent
7991c6fd54
commit
c4444e9f9c
@ -2366,7 +2366,8 @@ sub snmp_data_switcher {
|
||||
}
|
||||
|
||||
if ($data{type} eq "generic_data"){
|
||||
($data{data} = $pure_data) =~ s/[^-\d]//gr;
|
||||
$data{data} = $pure_data;
|
||||
$data{data} =~ s/[^-\d]//g;
|
||||
}
|
||||
|
||||
return \%data;
|
||||
|
Loading…
x
Reference in New Issue
Block a user