Probleme mit Basepac
This commit is contained in:
parent
7bf30a906f
commit
c872e97743
@ -204,7 +204,7 @@ public class Pac extends AbstractEntity implements Serializable {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public BasePac getBasepac() {
|
public BasePac getBasepac() {
|
||||||
if (basepac == null) {
|
if (basepac == null || basepac.getName() == null) {
|
||||||
Set<PacComponent> pacComps = getPacComponents();
|
Set<PacComponent> pacComps = getPacComponents();
|
||||||
if (pacComps != null) {
|
if (pacComps != null) {
|
||||||
basepac = pacComps.iterator().next().getBasePac();
|
basepac = pacComps.iterator().next().getBasePac();
|
||||||
|
Loading…
Reference in New Issue
Block a user