cfmgrv3 init...3

This commit is contained in:
최준흠git config git config --helpgit config --global user.name 최준흠 2023-06-22 04:44:38 +09:00
parent ff3a1830aa
commit 12a9743fb9

View File

@ -178,10 +178,10 @@ class CommonController extends BaseController
$logs = array();
$value = rtrim($this->request->getVar($field));
if ($entity->$field != $value) {
$entity->$field = $fieldDatas[$field] = $value;
$log = "{$entity->getTitle()}{$field} : {$entity->$field}=>{$value}";
Log::add("info", $log);
array_push($logs, $log);
$entity->$field = $fieldDatas[$field] = $value;
}
}
$this->_viewDatas['fieldDatas'] = $fieldDatas;