Set class property directly for createtime since there's no setter

This commit is contained in:
Junior 2026-11-24 08:51:58 -05:00
parent c22e175e3b
commit 1e4af3517b

View File

@ -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;