BGBM BDI Projects
/
taxeditor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix #5891: save null instead of empty string for text fields
[taxeditor.git]
/
eu.etaxonomy.taxeditor.store
/
src
/
main
/
java
/
eu
/
etaxonomy
/
taxeditor
/
ui
/
element
/
TextWithLabelElement.java
diff --git
a/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/element/TextWithLabelElement.java
b/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/element/TextWithLabelElement.java
index 039b54c0d7826c31c25ce617e039b2e4ae892e80..a0da22b1c4cfdd7c260546deb15844f6a4b2dca6 100644
(file)
--- a/
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/element/TextWithLabelElement.java
+++ b/
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/element/TextWithLabelElement.java
@@
-138,7
+138,8
@@
public class TextWithLabelElement extends AbstractCdmFormElement implements Modi
* @return a {@link java.lang.String} object.
*/
public String getText() {
- return text.getText();
+
+ return CdmUtils.Nb(text.getText());
}
/**