Skip to content

Commit

Permalink
Fix convert
Browse files Browse the repository at this point in the history
  • Loading branch information
timja committed May 25, 2019
1 parent f05fd6a commit bd4e111
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -602,9 +602,9 @@ public KnowledgeBase.KnowledgeBaseDescriptor getKnowledgeBaseDescriptor(String d

@Override
public boolean configure(StaplerRequest req, JSONObject o) {
KnowledgeBase existingKb = this.knowledgeBase;
req.bindJSON(this, o);

KnowledgeBase existingKb = this.knowledgeBase;
if (existingKb != null && !existingKb.equals(knowledgeBase)) {
if (o.getBoolean("convertOldKb")) {
try {
Expand Down

0 comments on commit bd4e111

Please sign in to comment.