Skip to content

Commit

Permalink
Bugfix for adding null plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
cjmalloy committed Apr 3, 2024
1 parent d0985b3 commit 8308d33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/jasper/domain/Ref.java
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ public Ref addPlugins(List<String> toAdd, ObjectNode from) {
plugins = from;
} else {
for (var t : toAdd) {
plugins.set(t, from.get(t));
if (from.has(t)) plugins.set(t, from.get(t));
}
}
return this;
Expand Down

0 comments on commit 8308d33

Please sign in to comment.