mirror of
https://github.com/lucaspalomodevelop/opnsense-core.git
synced 2026-03-13 00:07:27 +00:00
openvpn: style
This commit is contained in:
parent
673634970c
commit
e7f19e43da
@ -264,7 +264,7 @@ class OpenVPN extends BaseModel
|
||||
$this_caref = null;
|
||||
if (!empty((string)$node->ca)) {
|
||||
$this_caref = (string)$node->ca;
|
||||
} else if (isset(Config::getInstance()->object()->cert)) {
|
||||
} elseif (isset(Config::getInstance()->object()->cert)) {
|
||||
foreach (Config::getInstance()->object()->cert as $cert) {
|
||||
if (isset($cert->refid) && (string)$node->cert == $cert->refid) {
|
||||
$this_caref = (string)$cert->caref;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user