From f59867fb4c3677dde5ff789bf249d0279a5d8ad1 Mon Sep 17 00:00:00 2001 From: kf_wuhao <15392746632@qq.com> Date: Wed, 3 Mar 2021 16:02:28 +0800 Subject: [PATCH] 1 --- pmcalendar.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pmcalendar.php b/pmcalendar.php index 826da47..72edb1b 100644 --- a/pmcalendar.php +++ b/pmcalendar.php @@ -215,7 +215,7 @@ if ($act == 'newevent') { unset($yanqi_history[$idx]); } - $dict['yanqi_history']=json_encode($yanqi_history,true); + $dict['yanqi_history']=json_encode($yanqi_history); $sql = DB::update('calendar', $dict, "id='{$id}'"); DB::exe($sql); we('1');