Skip to content
Snippets Groups Projects
Commit b5d3b4db authored by kohleman's avatar kohleman
Browse files

SSDM-3286: check if label is null first

SVN: 35792
parent c7f5af86
No related branches found
No related tags found
No related merge requests found
...@@ -186,7 +186,7 @@ public class VocabularyBO extends AbstractBusinessObject implements IVocabularyB ...@@ -186,7 +186,7 @@ public class VocabularyBO extends AbstractBusinessObject implements IVocabularyB
final VocabularyTermPE vocabularyTermPE = new VocabularyTermPE(); final VocabularyTermPE vocabularyTermPE = new VocabularyTermPE();
vocabularyTermPE.setCode(code); vocabularyTermPE.setCode(code);
vocabularyTermPE.setDescription(description); vocabularyTermPE.setDescription(description);
if (label.length() > 0) if (label != null && label.length() > 0)
{ {
vocabularyTermPE.setLabel(label); vocabularyTermPE.setLabel(label);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment