diff --git a/pmcalendar.php b/pmcalendar.php index 3f8fd0c..fcf2257 100644 --- a/pmcalendar.php +++ b/pmcalendar.php @@ -214,7 +214,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');