Project

General

Profile

« Previous | Next » 

Revision ccce86df

Added by Katja Luther almost 6 years ago

minor

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/classification/TaxonNodeWizardPage.java
150 150
			} else if (defaultPublish != null && defaultPublish.equals(Messages.PublishFlagPreference_do_not_set)){
151 151
			    taxon.setPublish(false);
152 152
			}else{
153
			    taxon.setPublish(((TaxonNode)this.getParentTreeNode()).getTaxon().isPublish());
153
			    if((this.getParentTreeNode()).isInstanceOf(TaxonNode.class)){
154
			        taxon.setPublish(((TaxonNode)this.getParentTreeNode()).getTaxon().isPublish());
155
			    }else{
156
			        taxon.setPublish(true);
157
			    }
154 158
			}
155 159
			return taxon;
156 160
		} else{

Also available in: Unified diff