We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 30cc9a5 commit 109095bCopy full SHA for 109095b
models/validators/TypeValidator.cfc
@@ -44,7 +44,7 @@ component extends="BaseValidator" accessors="true" singleton {
44
}
45
46
// return true if no data to check, type needs a data element to be checked.
47
- if ( isNull( arguments.targetValue ) ) {
+ if ( isNull( arguments.targetValue ) || isNullOrEmpty( arguments.targetValue ) ) {
48
return true;
49
50
0 commit comments