Skip to content

Commit 3bba49e

Browse files
committed
Fix for adobe
Removing the use of dynamic initialization operator and replacing with invoke function as this gives error when passing arguments to the dynamic initialization operator.
1 parent f60c4cd commit 3bba49e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vendor/wheels/model/validations.cfc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -804,7 +804,7 @@ component {
804804
// Add to the arguments collection
805805
local.argumentsCollection[local.variableName] = local.variableValue;
806806
}
807-
local.rv = this[local.beforeParenthesis](argumentCollection=local.argumentsCollection); // Call the function
807+
local.rv = invoke(this, local.beforeParenthesis, local.argumentsCollection); // Call the function
808808
} else {
809809
local.rv = this[local.beforeParenthesis]; // Return the variable value
810810
}

0 commit comments

Comments
 (0)