mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-09-24 13:33:34 +08:00
Fixed "+ New translation" YSOD
- http://orchard.codeplex.com/workitem/16505 --HG-- branch : dev
This commit is contained in:
@@ -54,6 +54,7 @@ namespace Orchard.Core.Localization.Controllers {
|
||||
routePart.Path = null;
|
||||
}
|
||||
|
||||
if (contentItem.As<LocalizationPart>().Culture != null)
|
||||
contentItem.As<LocalizationPart>().Culture.Culture = null;
|
||||
var model = new AddLocalizationViewModel {
|
||||
Id = id,
|
||||
|
Reference in New Issue
Block a user