diff --git a/Report/DefaultReportCreator.cs b/Report/DefaultReportCreator.cs index 865c9873d..390594fdc 100644 --- a/Report/DefaultReportCreator.cs +++ b/Report/DefaultReportCreator.cs @@ -1386,8 +1386,7 @@ namespace BeWo.Report } } } - if (emp.LastName.Contains("Köckritz")) - { } + if (currentContract != null) { if ((currentContract.WeeklyTotalHours == null && currentContract.MonthlyTotalHours == null) || currentContract.WeeklyDays == null)