diff options
-rwxr-xr-x | config/haproxy-dev/haproxy_listeners_edit.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/config/haproxy-dev/haproxy_listeners_edit.php b/config/haproxy-dev/haproxy_listeners_edit.php index 6f6c60a4..326a5a20 100755 --- a/config/haproxy-dev/haproxy_listeners_edit.php +++ b/config/haproxy-dev/haproxy_listeners_edit.php @@ -289,6 +289,8 @@ include("head.inc"); seltext = "<?php echo haproxy_acl_select('https');?>"; else seltext = "<?php echo haproxy_acl_select('http');?>"; + if (seltext == '') + return; tbody = d.getElementById(tableId).getElementsByTagName("tbody").item(0); tr = d.createElement("tr"); |