added new end of life
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user