diff --git a/Service/Reporting/Straffaelligenhilfe/VgaStatisticCreator.cs b/Service/Reporting/Straffaelligenhilfe/VgaStatisticCreator.cs index adadd7fc4..e5a611d27 100644 --- a/Service/Reporting/Straffaelligenhilfe/VgaStatisticCreator.cs +++ b/Service/Reporting/Straffaelligenhilfe/VgaStatisticCreator.cs @@ -66,7 +66,11 @@ namespace BeWo.Service.Reporting.Straffaelligenhilfe break; } } - + + if (statistik == null) + { + return; + } statistik.StartDate = this.StartDate; statistik.EndDate = this.EndDate; statistik.ProcessCustomerVermittlungArbeit(customer, cva);