Avoid always setting the current time on card updates
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
@@ -337,7 +337,7 @@ class CardService {
|
||||
$card->setType($type);
|
||||
$card->setOrder($order);
|
||||
$card->setOwner($owner);
|
||||
$card->setDuedate(new \DateTime($duedate));
|
||||
$card->setDuedate($duedate ? new \DateTime($duedate) : null);
|
||||
$resetDuedateNotification = false;
|
||||
if (
|
||||
$card->getDuedate() === null ||
|
||||
|
||||
Reference in New Issue
Block a user