TW-1482
- TW-1482 Priority values may be 'H', 'M' or 'L', not ''.
This commit is contained in:
@@ -1486,7 +1486,8 @@ void Task::validate (bool applyDefault /* = true */)
|
||||
std::string priority = get ("priority");
|
||||
if (priority != "H" &&
|
||||
priority != "M" &&
|
||||
priority != "L")
|
||||
priority != "L" &&
|
||||
priority != "")
|
||||
throw format (STRING_TASK_VALID_PRIORITY, priority);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user