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->setType($type);
|
||||||
$card->setOrder($order);
|
$card->setOrder($order);
|
||||||
$card->setOwner($owner);
|
$card->setOwner($owner);
|
||||||
$card->setDuedate(new \DateTime($duedate));
|
$card->setDuedate($duedate ? new \DateTime($duedate) : null);
|
||||||
$resetDuedateNotification = false;
|
$resetDuedateNotification = false;
|
||||||
if (
|
if (
|
||||||
$card->getDuedate() === null ||
|
$card->getDuedate() === null ||
|
||||||
|
|||||||
Reference in New Issue
Block a user