aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rwxr-xr-xconfig/haproxy-dev/haproxy_listeners_edit.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/haproxy-dev/haproxy_listeners_edit.php b/config/haproxy-dev/haproxy_listeners_edit.php
index 326a5a20..6f18b1bd 100755
--- a/config/haproxy-dev/haproxy_listeners_edit.php
+++ b/config/haproxy-dev/haproxy_listeners_edit.php
@@ -563,7 +563,7 @@ include("head.inc");
foreach ($a_acl as $acl) {
$t = haproxy_find_acl($acl['expression']);
$display = '';
- if (!$t || ($t['mode'] != '' && $t['mode'] != strtolower($backend['type'])))
+ if (!$t || ($t['mode'] != '' && $t['mode'] != strtolower($pconfig['type'])))
$display = 'style="display: none;"';
?>
<tr id="aclrow<?=$counter;?>" <?=$display;?>>