mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-16 17:44:41 +00:00
(legacy) fix unitialized var in certs.inc
This commit is contained in:
parent
54d0c42962
commit
f1f331b98f
@ -438,7 +438,7 @@ function is_openvpn_client_cert($certref)
|
||||
}
|
||||
|
||||
foreach ($config['openvpn']['openvpn-client'] as $ovpnc) {
|
||||
if ($ovpnc['certref'] == $certref) {
|
||||
if (isset($ovpnc['certref']) && $ovpnc['certref'] == $certref) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user