diff --git a/ENI-2/ENI2/ENI2/ENI2.csproj b/ENI-2/ENI2/ENI2/ENI2.csproj
index 299e01be..32186dff 100644
--- a/ENI-2/ENI2/ENI2/ENI2.csproj
+++ b/ENI-2/ENI2/ENI2/ENI2.csproj
@@ -35,8 +35,8 @@
3.5.1.0
true
publish.html
- 0
- 5.0.0.%2a
+ 1
+ 5.0.1.%2a
false
true
true
diff --git a/Stundensheet.xlsx b/Stundensheet.xlsx
index 4157e9f3..8e0c39a2 100644
Binary files a/Stundensheet.xlsx and b/Stundensheet.xlsx differ
diff --git a/nsw/Source/bsmd.database/Properties/AssemblyProductInfo.cs b/nsw/Source/bsmd.database/Properties/AssemblyProductInfo.cs
index 5282e229..313e5ad2 100644
--- a/nsw/Source/bsmd.database/Properties/AssemblyProductInfo.cs
+++ b/nsw/Source/bsmd.database/Properties/AssemblyProductInfo.cs
@@ -2,6 +2,6 @@
[assembly: AssemblyCompany("schick Informatik")]
[assembly: AssemblyProduct("BSMD NSW interface")]
-[assembly: AssemblyInformationalVersion("5.0.1")]
+[assembly: AssemblyInformationalVersion("5.0.2")]
[assembly: AssemblyCopyright("Copyright © 2014-2018 schick Informatik")]
[assembly: AssemblyTrademark("")]
\ No newline at end of file
diff --git a/nsw/Source/bsmd.database/Properties/AssemblyProjectInfo.cs b/nsw/Source/bsmd.database/Properties/AssemblyProjectInfo.cs
index 21d57d69..29164df3 100644
--- a/nsw/Source/bsmd.database/Properties/AssemblyProjectInfo.cs
+++ b/nsw/Source/bsmd.database/Properties/AssemblyProjectInfo.cs
@@ -1,4 +1,4 @@
using System.Reflection;
-[assembly: AssemblyVersion("5.0.1.*")]
+[assembly: AssemblyVersion("5.0.2.*")]
diff --git a/nsw/Source/bsmd.dbh/Request.cs b/nsw/Source/bsmd.dbh/Request.cs
index 09f1c183..b4d9f071 100644
--- a/nsw/Source/bsmd.dbh/Request.cs
+++ b/nsw/Source/bsmd.dbh/Request.cs
@@ -679,9 +679,12 @@ namespace bsmd.dbh
rootStat.PortOfRegistry = stat.PortOfRegistry;
rootStat.ShipType = stat.ShipType;
- rootStat.InmarsatCallNumbers = stat.InmarsatCallNumber.Split('\n');
- for (int i = 0; i < rootStat.InmarsatCallNumbers.Length; i++)
- rootStat.InmarsatCallNumbers[i] = rootStat.InmarsatCallNumbers[i].Trim();
+ if (!stat.InmarsatCallNumber.IsNullOrEmpty())
+ {
+ rootStat.InmarsatCallNumbers = stat.InmarsatCallNumber.Trim().Split('\n');
+ for (int i = 0; i < rootStat.InmarsatCallNumbers.Length; i++)
+ rootStat.InmarsatCallNumbers[i] = rootStat.InmarsatCallNumbers[i].Trim();
+ }
rootStat.TransportMode = RootSTATTransportMode.Item1; // default is maritime transport!
if (!stat.TransportMode.IsNullOrEmpty() && stat.TransportMode.Equals("8"))