From c872e977436286f6de78121578b0dab143bba107 Mon Sep 17 00:00:00 2001 From: Peter Hormanns Date: Thu, 19 May 2011 16:33:27 +0000 Subject: [PATCH] Probleme mit Basepac --- hsarback/src/de/hsadmin/mods/pac/Pac.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hsarback/src/de/hsadmin/mods/pac/Pac.java b/hsarback/src/de/hsadmin/mods/pac/Pac.java index 2930bd0..d11193b 100644 --- a/hsarback/src/de/hsadmin/mods/pac/Pac.java +++ b/hsarback/src/de/hsadmin/mods/pac/Pac.java @@ -204,7 +204,7 @@ public class Pac extends AbstractEntity implements Serializable { } public BasePac getBasepac() { - if (basepac == null) { + if (basepac == null || basepac.getName() == null) { Set pacComps = getPacComponents(); if (pacComps != null) { basepac = pacComps.iterator().next().getBasePac();