Probleme mit Basepac

This commit is contained in:
Peter Hormanns 2011-05-19 16:33:27 +00:00
parent 7bf30a906f
commit c872e97743

View File

@ -204,7 +204,7 @@ public class Pac extends AbstractEntity implements Serializable {
}
public BasePac getBasepac() {
if (basepac == null) {
if (basepac == null || basepac.getName() == null) {
Set<PacComponent> pacComps = getPacComponents();
if (pacComps != null) {
basepac = pacComps.iterator().next().getBasePac();