aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorMarcello Coutinho <marcellocoutinho@gmail.com>2014-04-03 18:26:54 -0300
committerMarcello Coutinho <marcellocoutinho@gmail.com>2014-04-03 18:26:54 -0300
commit61620ec162c863251a9d433df2fd670569e44e2e (patch)
tree443bc4e205d425fb3bccc1eba1084f687a9f2b63 /config
parent5048c1271c2b5b3a9c893ce5f12cbc0fbbc55ba8 (diff)
parent85e095ca0eacd798064f4ff13d8aa285e5911404 (diff)
downloadpfsense-packages-61620ec162c863251a9d433df2fd670569e44e2e.tar.gz
pfsense-packages-61620ec162c863251a9d433df2fd670569e44e2e.tar.bz2
pfsense-packages-61620ec162c863251a9d433df2fd670569e44e2e.zip
Merge branch 'master' of https://github.com/pfsense/pfsense-packages
Diffstat (limited to 'config')
-rw-r--r--config/haproxy-devel/haproxy.inc5
1 files changed, 2 insertions, 3 deletions
diff --git a/config/haproxy-devel/haproxy.inc b/config/haproxy-devel/haproxy.inc
index 8b7fbb1e..e1cfdbbe 100644
--- a/config/haproxy-devel/haproxy.inc
+++ b/config/haproxy-devel/haproxy.inc
@@ -405,9 +405,8 @@ EOD;
$writeconfigupdate = true;
}
// update config to "haproxy-devel 1.5-dev19 pkg v0.5"
- $a_backends = &$config['installedpackages']['haproxy']['ha_backends']['item'];
- if(is_array($a_backends)) {
- foreach ($a_backends as &$bind) {
+ if(is_array($config['installedpackages']['haproxy']['ha_backends']['item'])) {
+ foreach ($config['installedpackages']['haproxy']['ha_backends']['item'] as &$bind) {
if($bind['httpclose'] && $bind['httpclose'] == "yes" ) {
$bind['httpclose'] = "httpclose";
$writeconfigupdate = true;