diff --git a/src/Umbraco.Web/Editors/BackOfficeController.cs b/src/Umbraco.Web/Editors/BackOfficeController.cs index 13afce3f26..21e3145cb8 100644 --- a/src/Umbraco.Web/Editors/BackOfficeController.cs +++ b/src/Umbraco.Web/Editors/BackOfficeController.cs @@ -65,7 +65,7 @@ namespace Umbraco.Web.Editors [HttpGet] public JsonNetResult LocalizedText(string culture = null) { - var cultureInfo = culture == null + var cultureInfo = string.IsNullOrWhiteSpace(culture) //if the user is logged in, get their culture, otherwise default to 'en' ? User.Identity.IsAuthenticated && User.Identity is UmbracoBackOfficeIdentity ? Security.CurrentUser.GetUserCulture(Services.TextService)