diff --git a/src/Umbraco.Web/umbraco.presentation/umbraco/webservices/codeEditorSave.asmx.cs b/src/Umbraco.Web/umbraco.presentation/umbraco/webservices/codeEditorSave.asmx.cs index 722abb3d18..08efdbaa48 100644 --- a/src/Umbraco.Web/umbraco.presentation/umbraco/webservices/codeEditorSave.asmx.cs +++ b/src/Umbraco.Web/umbraco.presentation/umbraco/webservices/codeEditorSave.asmx.cs @@ -60,7 +60,7 @@ namespace umbraco.presentation.webservices //deletes the old css file if the name was changed... - if (fileName != oldName) + if (fileName.ToLowerInvariant() != oldName.ToLowerInvariant()) { string p = IOHelper.MapPath(SystemDirectories.Css + "/" + oldName + ".css"); if (System.IO.File.Exists(p))