mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Add curly brackets here to improve readability
This commit is contained in:
parent
43f661f773
commit
d6fa556643
@ -172,10 +172,10 @@ if ($_POST) {
|
||||
|
||||
if (is_array($config['ipsec'])) {
|
||||
foreach ($ipsec_loglevels as $lkey => $ldescr) {
|
||||
if (empty($_POST["ipsec_{$lkey}"]))
|
||||
if (empty($_POST["ipsec_{$lkey}"])) {
|
||||
if (isset($config['ipsec']["ipsec_{$lkey}"]))
|
||||
unset($config['ipsec']["ipsec_{$lkey}"]);
|
||||
else
|
||||
} else
|
||||
$config['ipsec']["ipsec_{$lkey}"] = $_POST["ipsec_{$lkey}"];
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user