Set $time Closes #4718

This commit is contained in:
Mike Jolley 2014-02-11 16:03:02 +00:00 committed by Coen Jacobs
parent ab31c0d1ba
commit a4473f6679
1 changed files with 2 additions and 1 deletions

View File

@ -268,7 +268,8 @@ class WC_Admin_Report {
*/
public function prepare_chart_data( $data, $date_key, $data_key, $interval, $start_date, $group_by ) {
$prepared_data = array();
$time = '';
// Ensure all days (or months) have values first in this range
for ( $i = 0; $i <= $interval; $i ++ ) {
switch ( $group_by ) {