Skip to content

Commit

Permalink
Fix Nullpointer Exception beim Speichern von Spendenbescheinigung (#212)
Browse files Browse the repository at this point in the history
  • Loading branch information
JohannMaierhofer committed May 29, 2024
1 parent 0c52346 commit 844d80e
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/de/jost_net/JVerein/server/SpendenbescheinigungImpl.java
Original file line number Diff line number Diff line change
Expand Up @@ -358,10 +358,13 @@ public void store() throws RemoteException, ApplicationException
{
super.store();
Long id = Long.valueOf(getID());
for (Buchung b : buchungen)
if (buchungen != null)
{
b.setSpendenbescheinigungId(id);
b.store();
for (Buchung b : buchungen)
{
b.setSpendenbescheinigungId(id);
b.store();
}
}
}

Expand Down

0 comments on commit 844d80e

Please sign in to comment.