Skip to content

Commit 8abb537

Browse files
authored
Merge pull request #26 from jbeers/development
issue #25 Fix for passing arguments in newError()
2 parents e9b4f27 + 00f11f3 commit 8abb537

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/cbvalidation/models/result/ValidationResult.cfc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ component accessors="true" implements="cbvalidation.models.result.IValidationRes
9898
* Get a new error object
9999
*/
100100
IValidationError function newError( struct properties ){
101-
return duplicate( errorTemplate ).configure(argumentCollection=arguments);
101+
return duplicate( errorTemplate ).configure(argumentCollection=properties);
102102
}
103103

104104
/**

0 commit comments

Comments
 (0)