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.
2 parents 36f4a58 + 35ca681 commit b8ee677Copy full SHA for b8ee677
system/ioc/config/Mapping.cfc
@@ -441,8 +441,11 @@ component accessors="true" {
441
delegateIncludes = []
442
){
443
// check if already registered, if it is, just return
444
- for ( var thisProperty in variables.DIProperties ) {
445
- if ( thisProperty.name eq arguments.name ) {
+ for ( var x = 1; x lte arrayLen( variables.DIProperties ); x++ ) {
+ if (
446
+ structKeyExists( variables.DIProperties[ x ], "name" ) AND
447
+ variables.DIProperties[ x ].name == arguments.name
448
+ ) {
449
return this;
450
}
451
0 commit comments