Skip to content

Commit

Permalink
Desc. metadata with separator edit XML NPE, closes #1215
Browse files Browse the repository at this point in the history
  • Loading branch information
luis100 committed Apr 30, 2018
1 parent 768f0bf commit fef2bf2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ private boolean hasModifiedForm() {
MetadataValue mvBundle = bundleMap.get(key);
String bundleValue = mvBundle != null ? bundleMap.get(key).get("value") : "";

if (!formValue.equals(bundleValue))
if ((formValue != null && !formValue.equals(bundleValue)) || (formValue == null && bundleValue != null))
return true;
}
return false;
Expand Down

0 comments on commit fef2bf2

Please sign in to comment.