aboutsummaryrefslogtreecommitdiffstats
path: root/config/haproxy/haproxy_servers_edit.php
diff options
context:
space:
mode:
Diffstat (limited to 'config/haproxy/haproxy_servers_edit.php')
-rwxr-xr-xconfig/haproxy/haproxy_servers_edit.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/haproxy/haproxy_servers_edit.php b/config/haproxy/haproxy_servers_edit.php
index cc034821..15f2c8d9 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'], base64encode($_POST['advanced']));
+ update_if_changed("advanced", $server['advanced'], base64_encode($_POST['advanced']));
if (isset($id) && $a_server[$id]) {
$a_server[$id] = $server;