private boolean checkForPolytomousKeys(Taxon taxon){
boolean result = false;
- List<CdmBase> list = genericDao.getCdmBasesByFieldAndClass(PolytomousKeyNode.class, "taxon", taxon);
+ List<CdmBase> list = genericDao.getCdmBasesByFieldAndClass(PolytomousKeyNode.class, "taxon", taxon, null);
if (!list.isEmpty()) {
result = true;
}