From 174fd2f180dd4eedd81cd7907958c1f833db80b0 Mon Sep 17 00:00:00 2001 From: xiaomlove <353856593@qq.com> Date: Wed, 12 May 2021 13:56:45 +0800 Subject: [PATCH] user modcomment new new one in the front --- app/Repositories/ExamRepository.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Repositories/ExamRepository.php b/app/Repositories/ExamRepository.php index 898b58ff..6657741e 100644 --- a/app/Repositories/ExamRepository.php +++ b/app/Repositories/ExamRepository.php @@ -556,7 +556,7 @@ class ExamRepository extends BaseRepository 'begin' => $examUser->begin, 'end' => $examUser->end ], $locale); - $userModcommentUpdate[] = sprintf("when `id` = %s then concat_ws('\n', modcomment, '%s')", $uid, $userModcomment); + $userModcommentUpdate[] = sprintf("when `id` = %s then concat_ws('\n', '%s', modcomment)", $uid, $userModcomment); $banLogReason = nexus_trans('exam.ban_log_reason', [ 'exam_name' => $exam->name, 'begin' => $exam->begin,