Bugfix, missing return, when publishing with decendants and the root do not have variants.

This commit is contained in:
Bjarke Berg
2019-01-04 08:16:20 +01:00
parent f69cb89e30
commit e1709eaed5

View File

@@ -1094,6 +1094,7 @@ namespace Umbraco.Web.Editors
//TODO: Deal with multiple cancelations
wasCancelled = publishStatus.Any(x => x.Result == PublishResultType.FailedPublishCancelledByEvent);
successfulCultures = Array.Empty<string>();
return publishStatus;
}
//All variants in this collection should have a culture if we get here! but we'll double check and filter here