From: Alan T. DeKok Date: Mon, 9 Sep 2024 16:38:29 +0000 (-0400) Subject: casr to string X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=49c7e4b3bcd6b09e506d10ba215f6ecd81f51665;p=thirdparty%2Ffreeradius-server.git casr to string arguably this shouldn't be necessary. We should update the parser to handle this case. --- diff --git a/src/tests/keywords/attr-index-eval b/src/tests/keywords/attr-index-eval index ca8470313ff..de9df853191 100644 --- a/src/tests/keywords/attr-index-eval +++ b/src/tests/keywords/attr-index-eval @@ -8,7 +8,7 @@ index := 1 # # Dynamically create an attribute reference # -ref = "Filter-Id[" + index + "]" +ref = "Filter-Id[" + (string) index + "]" # # Evaluate the attribute as an unlang expression.