From c286d75f69415d2ca6a1ada665545e3b55fab13c Mon Sep 17 00:00:00 2001 From: vados-dev <192440777+vados-dev@users.noreply.github.com> Date: Thu, 30 Apr 2026 20:00:23 +0300 Subject: [PATCH] Auto-commit: AM-GlobalFunc.rsc manual update on 4/30/2026, 2026-04-30T17:00:23.094Z --- html/AM-GlobalFunc.rsc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/AM-GlobalFunc.rsc b/html/AM-GlobalFunc.rsc index 6cccdcbbe..4f7512e05 100644 --- a/html/AM-GlobalFunc.rsc +++ b/html/AM-GlobalFunc.rsc @@ -495,7 +495,7 @@ :retry command={:set PubIpAddr ([ /tool/fetch http-method="get" check-certificate=yes-without-crl $Url output=user as-value ]->"data")} \ delay=200ms max=5 on-error={:log error ($JobName . " Failed to detect public IP using fallback service: " . $Url . ".")} }; - :if ($PubIpAddr = false) do={:set PubIpAddr "not-detected"} else={:set PubIpAddr [ :pick $PubIpAddr 0 15]} + :if ($PubIpAddr = false) do={:set PubIpAddr "not-detected"} else={:set PubIpAddr [:pick $PubIpAddr 0 15]} :return $PubIpAddr; } -- 2.52.0