Adding some .ToString() conversions where localized strings are being used

--HG--
branch : dev
This commit is contained in:
Louis DeJardin
2010-06-07 16:07:57 -07:00
parent ec8e6795d2
commit ccc86d164a
2 changed files with 4 additions and 4 deletions

View File

@@ -160,7 +160,7 @@ namespace Orchard.Core.Contents.Controllers {
}
void IUpdateModel.AddModelError(string key, LocalizedString errorMessage) {
ModelState.AddModelError(key, errorMessage);
ModelState.AddModelError(key, errorMessage.ToString());
}
}
}