Skip to content

Commit 00f11f3

Browse files
author
UHLIG\jbeers
committed
issue #25 Fix for passing arguments in newError()
1 parent 7e8414d commit 00f11f3

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)