diff --git a/app/Controllers/Common/CommonController.php b/app/Controllers/Common/CommonController.php
index 344e515..ebeedcf 100644
--- a/app/Controllers/Common/CommonController.php
+++ b/app/Controllers/Common/CommonController.php
@@ -177,7 +177,7 @@ class CommonController extends BaseController
$this->_viewDatas['fieldDatas'] = array();
foreach ($this->_viewDatas['fields'] as $field) {
$this->_viewDatas['fieldDatas'][$field] = rtrim($this->request->getVar($field));
- $log = "{$entity->getTitle()}의 {$field} : {$entity->$field}=>{$this->_viewDatas['fieldDatas'][$field]}";
+ $log = "{$field} : {$entity->$field} => {$this->_viewDatas['fieldDatas'][$field]}";
//암호는 보안상 log에 남지 않게하기 위함
if ($field != 'passwd') {
Log::add("info", $log);
@@ -189,7 +189,7 @@ class CommonController extends BaseController
}
// throw new \Exception(var_export($this->_viewDatas['fieldDatas'], true));
if (!$entity->hasChanged()) {
- throw new \Exception("새로 변경된 값이 없습니다." . var_export($logs, true));
+ throw new \Exception("새로 변경된 값이 없습니다.\n
" . implode("\n
", $logs));
}
//변경할 값 확인
if (!$this->validate($this->_viewDatas['fieldRules'])) {