Bug
- Fixed bug that was not properly evaluating cases where recurrence was being removed from a task. Signed-off-by: Paul Beckingham <paul@beckingham.net>
This commit is contained in:
committed by
Paul Beckingham
parent
dac2838ecc
commit
c978baf36a
@@ -92,7 +92,6 @@ int CmdModify::execute (std::string& output)
|
|||||||
throw std::string (STRING_CMD_MODIFY_REM_DUE);
|
throw std::string (STRING_CMD_MODIFY_REM_DUE);
|
||||||
|
|
||||||
if (before.has ("recur") &&
|
if (before.has ("recur") &&
|
||||||
task->has ("recur") &&
|
|
||||||
(!task->has ("recur") ||
|
(!task->has ("recur") ||
|
||||||
task->get ("recur") == ""))
|
task->get ("recur") == ""))
|
||||||
throw std::string (STRING_CMD_MODIFY_REC_ALWAYS);
|
throw std::string (STRING_CMD_MODIFY_REC_ALWAYS);
|
||||||
|
|||||||
Reference in New Issue
Block a user