Skip to content

Commit daab4cc

Browse files
committed
Fix for issue #22
1 parent 6702508 commit daab4cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/soap/mapping/rubytypeFactory.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ def unknownstruct2obj(node, info, map)
407407
obj = Mapping.create_empty_object(klass)
408408
rescue
409409
# type name "data" tries Data.new which raises TypeError
410-
nil
410+
return nil
411411
end
412412
mark_unmarshalled_obj(node, obj)
413413
setiv2obj(obj, node, map)

0 commit comments

Comments
 (0)