Skip to content

Commit 8c6c12a

Browse files
compat(ACF): Replace structValueArray function
1 parent 215c501 commit 8c6c12a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

models/PlaywrightMixins.cfm

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,10 @@
7070
7171
public string function route() {
7272
var baseURL = CGI.HTTPS == "on" ? "https://" : "http://" & CGI.HTTP_HOST;
73-
var pathArray = structValueArray( arguments );
73+
var pathArray = [];
74+
for ( var currentKey in arguments ){
75+
pathArray.append( arguments[currentKey] );
76+
}
7477
return variables.javaPaths.get( baseURL, javacast( "String[]", pathArray ) ).toString();
7578
}
7679

0 commit comments

Comments
 (0)