Skip to content

Commit

Permalink
Merge pull request #686 from arthurschreiber/patch-2
Browse files Browse the repository at this point in the history
Fix untested (obviously wrong) check in WSDL#findChildParameterObject
  • Loading branch information
herom committed Jul 20, 2015
2 parents 7f5c045 + 001dd02 commit 9134c6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/wsdl.js
Original file line number Diff line number Diff line change
Expand Up @@ -1673,7 +1673,7 @@ WSDL.prototype.findChildParameterObject = function(parameterTypeObj, childName)
i = 0,
child;

if(parameterTypeObj.$lookupTypes && Array.isArray(parameterTypeObj.$lookupTypes && parameterTypeObj.$lookupTypes.length)) {
if(parameterTypeObj.$lookupTypes && Array.isArray(parameterTypeObj.$lookupTypes) && parameterTypeObj.$lookupTypes.length) {
var types = parameterTypeObj.$lookupTypes;

for(i = 0; i < types.length; i++) {
Expand Down

0 comments on commit 9134c6b

Please sign in to comment.