From 494765f518259decfe6f2a4c47fe339f9b6e8660 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=B5=9C=EC=A4=80=ED=9D=A0git=20config=20git=20config=20-?= =?UTF-8?q?-helpgit=20config=20--global=20user=2Ename=20=EC=B5=9C=EC=A4=80?= =?UTF-8?q?=ED=9D=A0?= Date: Sat, 24 Jun 2023 11:37:25 +0900 Subject: [PATCH] cfmgrv3 init...3 --- app/Controllers/Common/CommonController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Controllers/Common/CommonController.php b/app/Controllers/Common/CommonController.php index 1a10360..7950a2e 100644 --- a/app/Controllers/Common/CommonController.php +++ b/app/Controllers/Common/CommonController.php @@ -296,12 +296,12 @@ class CommonController extends BaseController $this->batchjob_init(); $entitys = array(); foreach ($uids as $uid) { + $entity = $this->_model->getEntity($uid); try { - $entity = $this->_model->getEntity($uid); $entity = $this->batchjob_validate($entity); array_push($entitys, $this->batchjob_process($entity)); } catch (\Exception $e) { - Log::add("warning", "{$uid}에 해당하는 다음 이유로 수정되지 않았습니다.\n
" . $e->getMessage()); + Log::add("warning", "{$entity->getTitle()}는 다음과 같은 이유로 수정되지 않았습니다.\n
" . $e->getMessage()); } } $message = "총: " . count($entitys) . "개의 수정(Batchjob)을 완료하였습니다.";