mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-24 10:11:35 +08:00
committed by
Sébastien Ros
parent
0920fabf98
commit
abe040174d
@@ -37,7 +37,7 @@ namespace Orchard.Comments.Controllers {
|
||||
Services.Notifier.Error(T("Email is invalid or is longer than 255 chars"));
|
||||
}
|
||||
|
||||
if (!ModelState.IsValidField("Comments.Site")) {
|
||||
if (!ModelState.IsValidField("Comments.SiteName")) {
|
||||
Services.Notifier.Error(T("Site url is invalid or is longer than 255 chars"));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user