From be758016f3cd29cef9b854c3473df80c12668763 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Tue, 26 Oct 2010 16:04:52 -0600 Subject: [PATCH] fixed sandbox so it doesn't show last month of visits since the current month is usually blank anyway --- inc/class.tc.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/class.tc.inc.php b/inc/class.tc.inc.php index 9a33637..bcf18e2 100644 --- a/inc/class.tc.inc.php +++ b/inc/class.tc.inc.php @@ -681,7 +681,7 @@ class tc $sandbox_table_data .= "$family_name"; # get 12 months visit data for given family - for($m=$this->sandbox_stats_num_months; $m >= 0; $m--) { + for($m=$this->sandbox_stats_num_months; $m > 0; $m--) { $month = $this->current_month - $m; $year = $this->current_year; if($month <= 0) { $remainder = $month; $month = 12 + $remainder; $year=$year-1; } -- 2.34.1