mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-20 11:26:13 +00:00
health: obvious isset candidate
This commit is contained in:
parent
937d7ec855
commit
7c3cef57d6
@ -296,7 +296,7 @@ function enable_rrd_graphing()
|
||||
mwexec("$rrdtool update $rrddbpath$ifname$vpnusers N:U");
|
||||
}
|
||||
|
||||
if (is_array($config['openvpn']['openvpn-server'])) {
|
||||
if (isset($config['openvpn']['openvpn-server'])) {
|
||||
foreach($config['openvpn']['openvpn-server'] as $server) {
|
||||
if ("ovpns{$server['vpnid']}" == $ifname) {
|
||||
$port = $server['local_port'];
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user