diff --git a/class_task.php b/class_task.php index 52380e9..67986c4 100644 --- a/class_task.php +++ b/class_task.php @@ -297,7 +297,7 @@ class Task implements JsonSerializable { return false; } if ( $this->getID() == 0 ) { - $this->setCreateTime($newcreatetime); + $this->createtime = $newcreatetime; $this->setID(AppDB::getLastInsertId()); } return true;