- Fixed bug where specifying an ID of 0 yielded all completed/deleted tasks
  (thanks to greenskeleton).
This commit is contained in:
Paul Beckingham
2013-09-10 22:00:44 -04:00
parent 938077115e
commit bcc9eb3d7a
6 changed files with 9 additions and 0 deletions

View File

@@ -1141,6 +1141,9 @@ const A3 A3::sequence (const A3& input) const
if (ids.size () == 0 && uuids.size () == 0)
return input;
if (ids.size () == 1 && ids[0] < 1)
throw format (STRING_A3_ZERO_ID, ids[0]);
// Copy everything up to the first id/uuid.
for (arg = input.begin (); arg != input.end (); ++arg)
{