aboutsummaryrefslogtreecommitdiffstats
path: root/config/haproxy-devel
diff options
context:
space:
mode:
authorPiBa-NL <pba_2k3@yahoo.com>2014-12-22 00:12:30 +0100
committerjim-p <jimp@pfsense.org>2014-12-21 18:35:07 -0500
commit9575f87529d7c5f63c9454b84e27a474d6283eac (patch)
treea9cd233441f57fc254ab04f24c0d27bdd90a71b3 /config/haproxy-devel
parentc4606792a19a087296a5e2f664fcdf3975d4a3c5 (diff)
downloadpfsense-packages-9575f87529d7c5f63c9454b84e27a474d6283eac.tar.gz
pfsense-packages-9575f87529d7c5f63c9454b84e27a474d6283eac.tar.bz2
pfsense-packages-9575f87529d7c5f63c9454b84e27a474d6283eac.zip
haproxy-devel, fix config upgrade bug.
Diffstat (limited to 'config/haproxy-devel')
-rw-r--r--config/haproxy-devel/haproxy.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/haproxy-devel/haproxy.inc b/config/haproxy-devel/haproxy.inc
index c839cd4c..a596b241 100644
--- a/config/haproxy-devel/haproxy.inc
+++ b/config/haproxy-devel/haproxy.inc
@@ -427,7 +427,7 @@ EOD;
update_output_window($static_output);
// make sure the version stays 'comparable'
- if (is_arrayset($config,'installedpackages','haproxy'))
+ if (is_arrayset($config,'installedpackages','haproxy') && isset($config['installedpackages']['haproxy']['configversion']))
$configversion = $config['installedpackages']['haproxy']['configversion'];
else
$configversion = "00.12";