X-Git-Url: http://git.pippins.net/embedvideo/.git/static/gitweb.js?a=blobdiff_plain;f=inc%2Fclass.tc.inc.php;fp=inc%2Fclass.tc.inc.php;h=bcf18e26a79ba6cfb9ee1f9b721ed95a6b287e56;hb=be758016f3cd29cef9b854c3473df80c12668763;hp=9a33637061bcdd43c0e10bed5e214fef6265fa4e;hpb=d25968e59966d5cd1a9988b4f3e9d1d786f0455e;p=eq%2F.git 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; }