This commit is contained in:
tsommer committed 2022-07-17 13:31:36 +02:00
1 parent bbefeb97a8
commit a8e231bb1b
1 file changed
+2 -2
+2 -2
View File
@@ -47,7 +47,7 @@ public static class SectionProcessor
}
// In the case, when the user adds a section to the root, handle the insert differently:
if (string.IsNullOrEmpty(parentKey))
if (string.IsNullOrWhiteSpace(parentKey))
{
var rootSection = new Section
{
@@ -66,7 +66,7 @@ public static class SectionProcessor
}
catch (Exception e)
{
e.ToProcessorResult<Section>();
return e.ToProcessorResult<Section>();
}
}