added new end of life

This commit is contained in:
2025-08-07 16:33:49 +02:00
parent 7ccba02756
commit 4a58cc44da
7 changed files with 88 additions and 17 deletions
+2 -2
View File
@@ -271,10 +271,10 @@ class TTCrud extends mfBaseController {
}
protected function updateAction() {
if (property_exists($this->model, 'create') && isset($this->postData['create'])) {
if (property_exists($this->model, 'create')) {
$this->postData['create'] = $this->model::get($this->postData['id'])->create;
}
if (property_exists($this->model, 'createBy') && isset($this->postData['createBy'])) {
if (property_exists($this->model, 'createBy')) {
$this->postData['createBy'] = $this->model::get($this->postData['id'])->createBy;
}