From d6662eb43ac0fe318bb36bbc6f215cf34c17540d Mon Sep 17 00:00:00 2001 From: Daniel Schick Date: Tue, 21 Jul 2015 06:40:28 +0000 Subject: [PATCH] fehler fix --- nsw/Source/bsmd.ReportGenerator/BSMDDocument.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nsw/Source/bsmd.ReportGenerator/BSMDDocument.cs b/nsw/Source/bsmd.ReportGenerator/BSMDDocument.cs index 675fc607..78cbfba3 100644 --- a/nsw/Source/bsmd.ReportGenerator/BSMDDocument.cs +++ b/nsw/Source/bsmd.ReportGenerator/BSMDDocument.cs @@ -333,10 +333,10 @@ namespace bsmd.ReportGenerator row.Cells[0].AddParagraph((i + 1).ToString()); row.Cells[1].AddParagraph(crew.CrewMemberLastName ?? ""); row.Cells[2].AddParagraph(crew.CrewMemberFirstName ?? ""); - row.Cells[3].AddParagraph(crew.CrewMemberPlaceOfBirth); + row.Cells[3].AddParagraph(crew.CrewMemberPlaceOfBirth ?? ""); row.Cells[4].AddParagraph(crew.CrewMemberDateOfBirthDisplay); row.Cells[5].AddParagraph(crew.CrewMemberGenderDisplay); - row.Cells[6].AddParagraph(crew.CrewMemberNationality); + row.Cells[6].AddParagraph(crew.CrewMemberNationality ?? ""); row.Cells[7].AddParagraph(crew.CrewMemberIdentityDocumentTypeDisplay); row.Cells[8].AddParagraph(crew.CrewMemberIdentityDocumentId ?? ""); row.Cells[9].AddParagraph(crew.CrewMemberVisaNumber ?? "");