diff options
Diffstat (limited to 'config/haproxy/haproxy_servers_edit.php')
-rwxr-xr-x | config/haproxy/haproxy_servers_edit.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/haproxy/haproxy_servers_edit.php b/config/haproxy/haproxy_servers_edit.php index 1803b5da..25d8e69a 100755 --- a/config/haproxy/haproxy_servers_edit.php +++ b/config/haproxy/haproxy_servers_edit.php @@ -123,7 +123,7 @@ if ($_POST) { update_if_changed("weight", $server['weight'], $_POST['weight']); update_if_changed("status", $server['status'], $_POST['status']); update_if_changed("address", $server['address'], $_POST['address']); - update_if_changed("advanced", $server['advanced'], $_POST['advanced']); + update_if_changed("advanced", $server['advanced'], base64encode($_POST['advanced'])); if (isset($id) && $a_server[$id]) { $a_server[$id] = $server; |