From c92c73973701401edde7ff16f34671f4bb4fd075 Mon Sep 17 00:00:00 2001 From: Peter Hormanns Date: Mon, 8 Aug 2022 12:56:32 +0200 Subject: [PATCH] alloe missing hive reference --- hsarback/src/de/hsadmin/mods/pac/Pac.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hsarback/src/de/hsadmin/mods/pac/Pac.java b/hsarback/src/de/hsadmin/mods/pac/Pac.java index 84d3935..fe6d01a 100644 --- a/hsarback/src/de/hsadmin/mods/pac/Pac.java +++ b/hsarback/src/de/hsadmin/mods/pac/Pac.java @@ -244,10 +244,10 @@ public class Pac extends AbstractEntity implements Serializable { @Override public String getHiveName() { - if (isNew()) + if (hive == null) return null; else - return getHive().getHiveName(); + return hive.getHiveName(); } @Override