ref #7413: inAuthors only for fungus or zoological names - continue
authorKatja Luther <k.luther@bgbm.org>
Tue, 16 Jan 2024 13:18:24 +0000 (14:18 +0100)
committerKatja Luther <k.luther@bgbm.org>
Tue, 16 Jan 2024 13:18:24 +0000 (14:18 +0100)
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/name/AuthorshipDetailElement.java

index 18f1e15d188cecf90792e68eb095e7d279d382b5..dd86e613454337509ab9df2e5b0719f63f771af9 100644 (file)
@@ -81,7 +81,7 @@ public class AuthorshipDetailElement
                                entity.getExCombinationAuthorship(),
                                EntitySelectionElement.DELETABLE | EntitySelectionElement.SELECTABLE | EntitySelectionElement.EDITABLE, style);
                addElement(selectionExCombinationAuthor);
-               if (config == null || config.isInAuthorshipActivated()&& (getEntity().getNameType().isFungus() || getEntity().getNameType().isZoological())) {
+               if ((config == null || config.isInAuthorshipActivated())&& (getEntity().getNameType().isFungus() || getEntity().getNameType().isZoological())) {
                    selectionInCombinationAuthor = formFactory.createSelectionElementWithAbbreviatedTitle(TeamOrPersonBase.class,
                         formElement, "In Author",
                         entity.getInCombinationAuthorship(),