summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorChris Buechler <cmb@pfsense.org>2015-10-26 15:41:36 -0500
committerChris Buechler <cmb@pfsense.org>2015-10-26 15:41:36 -0500
commit52005a0642710faaafe9b0c28e164ba35d24adc2 (patch)
tree6c0280ba389f1051853aa6f707a9bdd82a1d978d /etc
parentd25eda8d75813c59394f02eddd70ade69da06dc3 (diff)
downloadpfsense-52005a0642710faaafe9b0c28e164ba35d24adc2.zip
pfsense-52005a0642710faaafe9b0c28e164ba35d24adc2.tar.gz
fix logging config upgrade. Ticket #5340
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/upgrade_config.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/upgrade_config.inc b/etc/inc/upgrade_config.inc
index 3b41251..5f97d30 100644
--- a/etc/inc/upgrade_config.inc
+++ b/etc/inc/upgrade_config.inc
@@ -3659,8 +3659,8 @@ function upgrade_119_to_120() {
// add 1 to configured log levels as part of redmine #5340
foreach ($ipsec_loglevels as $lkey => $ldescr) {
- if (isset($config['ipsec']['ipsec_{$lkey}'])) {
- $config['ipsec']['ipsec_{$lkey}'] = $config['ipsec']['ipsec_{$lkey}'] + 1;
+ if (isset($config['ipsec']["ipsec_{$lkey}"])) {
+ $config['ipsec']["ipsec_{$lkey}"] = $config['ipsec']["ipsec_{$lkey}"] + 1;
}
}
OpenPOWER on IntegriCloud