mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-15 09:04:39 +00:00
crash reporter: fix array access
This commit is contained in:
parent
85b5bae190
commit
b4344e8ea9
@ -488,8 +488,9 @@ function poolopts_change() {
|
||||
$interfaces["enc0"] = "IPsec";
|
||||
|
||||
/* add openvpn/tun interfaces */
|
||||
if ($config['openvpn']["openvpn-server"] || $config['openvpn']["openvpn-client"])
|
||||
$interfaces["openvpn"] = "OpenVPN";
|
||||
if (isset($config['openvpn']['openvpn-server']) || isset($config['openvpn']['openvpn-client'])) {
|
||||
$interfaces['openvpn'] = 'OpenVPN';
|
||||
}
|
||||
|
||||
foreach ($interfaces as $iface => $ifacename):
|
||||
?>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user