ref #8385: do not show default preference for distributionstatus
authorKatja Luther <k.luther@bgbm.org>
Thu, 29 Aug 2019 12:36:59 +0000 (14:36 +0200)
committerKatja Luther <k.luther@bgbm.org>
Thu, 29 Aug 2019 12:36:59 +0000 (14:36 +0200)
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/preference/DistributionStatusAndNamedAreaVocabularies.java

index 8088a24eb57690cff4ae3f75738bfe23d497efaf..b99b707067a5ed7db6357ed578dcd42bca5d5254 100755 (executable)
@@ -156,7 +156,9 @@ public class DistributionStatusAndNamedAreaVocabularies extends CdmPreferencePag
 
         while (prefIterator.hasNext()){
             pref = prefIterator.next();
-            createTableRow(pref);
+            if (pref.getValue() != null){
+                createTableRow(pref);
+            }
 
         }
     }