Add curly brackets here to improve readability

This commit is contained in:
Renato Botelho 2014-04-10 17:50:36 -03:00
parent 43f661f773
commit d6fa556643

View File

@ -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}"];
}
}