diff --git a/src/Tracy/Dumper/assets/dumper.js b/src/Tracy/Dumper/assets/dumper.js index 846d54226..b889a7f51 100644 --- a/src/Tracy/Dumper/assets/dumper.js +++ b/src/Tracy/Dumper/assets/dumper.js @@ -122,7 +122,7 @@ if (!object) { throw new UnknownEntityException; } - parentIds = parentIds || []; + parentIds = parentIds ? parentIds.slice() : []; let recursive = parentIds.indexOf(id) > -1; parentIds.push(id);