From e224425f0e476f19506d6e0e97fc7e2a7bdca6a8 Mon Sep 17 00:00:00 2001 From: zaidranger <82002295+zaidranger@users.noreply.github.com> Date: Tue, 28 May 2024 00:43:23 +0800 Subject: [PATCH] change $(var) > ($var) This fixes deprecation message and the settings can be used again --- .../opnsense/mvc/app/models/OPNsense/HAProxy/HAProxy.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/net/haproxy/src/opnsense/mvc/app/models/OPNsense/HAProxy/HAProxy.php b/net/haproxy/src/opnsense/mvc/app/models/OPNsense/HAProxy/HAProxy.php index 5218c256e..7dade59ea 100644 --- a/net/haproxy/src/opnsense/mvc/app/models/OPNsense/HAProxy/HAProxy.php +++ b/net/haproxy/src/opnsense/mvc/app/models/OPNsense/HAProxy/HAProxy.php @@ -269,7 +269,7 @@ class HAProxy extends BaseModel return $acl_uuid; } else { // Extend existing string. - $linkedAcls .= ",${acl_uuid}"; + $linkedAcls .= ",{$acl_uuid}"; } } else { $linkedAcls = $acl_uuid; @@ -309,7 +309,7 @@ class HAProxy extends BaseModel return $server_uuid; } else { // Extend existing string. - $linkedServers .= ",${server_uuid}"; + $linkedServers .= ",{$server_uuid}"; } } else { $linkedServers = $server_uuid; @@ -349,7 +349,7 @@ class HAProxy extends BaseModel return $action_uuid; } else { // Extend existing string. - $linkedActions .= ",${action_uuid}"; + $linkedActions .= ",{$action_uuid}"; } } else { $linkedActions = $action_uuid;