diff --git a/src/Orchard.Web/Modules/Orchard.Indexing/Services/IndexingTaskManager.cs b/src/Orchard.Web/Modules/Orchard.Indexing/Services/IndexingTaskManager.cs index 9c2cb0de6..75c30f699 100644 --- a/src/Orchard.Web/Modules/Orchard.Indexing/Services/IndexingTaskManager.cs +++ b/src/Orchard.Web/Modules/Orchard.Indexing/Services/IndexingTaskManager.cs @@ -55,7 +55,7 @@ namespace Orchard.Indexing.Services { } public DateTime GetLastTaskDateTime() { - return _repository.Table.Max(t => t.CreatedUtc) ?? DateTime.MinValue; + return _repository.Table.Max(t => t.CreatedUtc) ?? new DateTime(1980, 1, 1); } ///