TW-1460
- Display error for empty due: attribute when adding recurring tasks. - Prevent endless loop for tasks that have an empty due: attribute.
This commit is contained in:
committed by
Paul Beckingham
parent
7422a76153
commit
00b15ca407
@@ -159,6 +159,10 @@ bool generateDueDates (Task& parent, std::vector <Date>& allDue)
|
||||
{
|
||||
// Determine due date, recur period and until date.
|
||||
Date due (parent.get_date ("due"));
|
||||
if (due == 0)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
std::string recur = parent.get ("recur");
|
||||
|
||||
bool specificEnd = false;
|
||||
|
||||
Reference in New Issue
Block a user