From 5084d2b4ddf7ac8f13ba8c670076061819d1fa0e Mon Sep 17 00:00:00 2001 From: Sebastien Ros Date: Thu, 3 Jun 2010 14:54:35 -0700 Subject: [PATCH] Corrected blog post handler for background tasks --HG-- branch : dev --- src/Orchard/Mvc/MvcModule.cs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/Orchard/Mvc/MvcModule.cs b/src/Orchard/Mvc/MvcModule.cs index c88c941b0..76d24a5a6 100644 --- a/src/Orchard/Mvc/MvcModule.cs +++ b/src/Orchard/Mvc/MvcModule.cs @@ -1,4 +1,5 @@ using System; +using System.Collections.Specialized; using System.Web; using System.Web.Mvc; using System.Web.Routing; @@ -82,6 +83,13 @@ namespace Orchard.Mvc { public override bool IsAuthenticated { get { return false; } } + + // empty collection provided for background operation + public override NameValueCollection Form { + get { + return new NameValueCollection(); + } + } } } } \ No newline at end of file