diff --git a/SparkleShare/SparkleEventLogController.cs b/SparkleShare/SparkleEventLogController.cs index 2e3276c3..237cb4c1 100755 --- a/SparkleShare/SparkleEventLogController.cs +++ b/SparkleShare/SparkleEventLogController.cs @@ -403,9 +403,10 @@ namespace SparkleShare { public string GetHTMLLog (List change_sets) { - if (change_sets.Count == 0) - return ""; // TODO "Project does not have a history" - + if (change_sets == null || change_sets.Count == 0) + return Program.Controller.EventLogHTML.Replace ("", + "
This project does not keep a history.
"); + List activity_days = new List (); change_sets.Sort ((x, y) => (x.Timestamp.CompareTo (y.Timestamp)));