Fixes #4295 - removing erroneous check in publish later part

This commit is contained in:
Nicholas Mayne
2015-04-15 14:56:41 +01:00
parent e3249cc02c
commit eca6f9177d

View File

@@ -100,7 +100,7 @@ namespace Orchard.PublishLater.Drivers {
updater.AddModelError(Prefix, T("'{0} {1}' could not be parsed as a valid date and time.", model.Editor.Date, model.Editor.Time));
}
}
else if (!String.IsNullOrWhiteSpace(model.Editor.Date) || !String.IsNullOrWhiteSpace(model.Editor.Time)) {
else {
updater.AddModelError(Prefix, T("Both the date and time need to be specified for when this is to be published. If you don't want to schedule publishing then click Save or Publish Now."));
}
}