Skip to content

Commit

Permalink
Check if member exists before calling his proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
davidspiess committed May 4, 2018
1 parent fce6908 commit 7fad521
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xml/Parser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ export class Parser {

state = state.parent;

if(member.proxy) {
if(member && member.proxy) {
if(item) state.item[member.safeName] = item;
item = state.item;

Expand Down

0 comments on commit 7fad521

Please sign in to comment.