From bf55e8bdf09314c53cf604b4e77dc7055ef73419 Mon Sep 17 00:00:00 2001 From: kf_wuhao <15392746632@qq.com> Date: Tue, 2 Mar 2021 14:06:21 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=B0=E5=BD=95=E5=BB=B6=E6=9C=9F=20?= =?UTF-8?q?=E6=93=8D=E4=BD=9C=E4=BA=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pmcalendar.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pmcalendar.php b/pmcalendar.php index b4aac68..a3ef607 100644 --- a/pmcalendar.php +++ b/pmcalendar.php @@ -235,7 +235,7 @@ if ($act == 'newevent') { $yanqi_history=$event['yanqi_history']; if (!$yanqi_history) $yanqi_history = '[]'; $yanqi_history = json_decode($yanqi_history,true); - $yanqi_history[] = array('date1'=>$event['start'],'date2'=>$dict['end'],'reason'=>$reason); + $yanqi_history[] = array('date1'=>$event['start'],'date2'=>$dict['end'],'user'=>$user,'reason'=>$reason); $dict['yanqi_history']=json_encode($yanqi_history,true); $sql = DB::update('calendar', $dict, "id='{$id}'");