diff --git a/pmcalendar.php b/pmcalendar.php index d988bfb..9035ccc 100644 --- a/pmcalendar.php +++ b/pmcalendar.php @@ -206,7 +206,7 @@ if ($act == 'newevent') { } if ($type == 'charts') // we(json_encode($eventCharts)); - we(json_encode(array('charts' => $eventCharts, 'table' => $eventTable))); + we(json_encode(array('charts' => $eventCharts, 'table' => $eventTable,'count'=>$eventTypeCnt))); else{ $json['count'] = $eventTypeCnt; we(json_encode($json));