Fix Details does not open for synonyms #3823
authorAndreas Müller <a.mueller@bgbm.org>
Thu, 24 Oct 2013 08:23:58 +0000 (08:23 +0000)
committerAndreas Müller <a.mueller@bgbm.org>
Thu, 24 Oct 2013 08:23:58 +0000 (08:23 +0000)
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/taxon/TaxonBaseDetailElement.java

index 680017787eaa62638269ef4272da3caf125ce178..e47030a4a9fcb0f0ec24f485d251f2bf54dc7a7a 100644 (file)
@@ -98,7 +98,7 @@ public class TaxonBaseDetailElement extends AbstractIdentifiableEntityDetailElem
                                entity.getClass().getSimpleName() + " is doubtful", entity.isDoubtful(), style);
                
                checkbox_published = formFactory.createCheckbox(formElement,
                                entity.getClass().getSimpleName() + " is doubtful", entity.isDoubtful(), style);
                
                checkbox_published = formFactory.createCheckbox(formElement,
-                       "Taxon is published", ((Taxon) entity).isPublish(), style);
+                       "Taxon is published", ((TaxonBase) entity).isPublish(), style);
 
        }
 
 
        }