Probleme mit Basepac

This commit is contained in:
Peter Hormanns 2011-05-19 16:51:59 +00:00
parent c872e97743
commit 473062ebcc

View File

@ -55,7 +55,7 @@ public class PacRemote extends AbstractRemote {
Pac pac = (Pac) entity;
BasePac basePac = pac.getBasepac();
String basePacName = setParams.get("basepac");
if (basePac == null && assertNotNull(basePacName)) {
if ((basePac == null || basePac.getName() == null) && assertNotNull(basePacName)) {
basePac = new BasePac();
basePac.setName(basePacName);
pac.setBasepac(basePac);