From: Alan Pippin Date: Wed, 27 Oct 2010 00:36:11 +0000 (-0600) Subject: Merge branch 'owenleonard/ht_sandbox' of git@github.com:apippin/tc into owenleonard... X-Git-Tag: release_1_1_0^2~2^2~1 X-Git-Url: http://git.pippins.net/embedvideo/.git/%22%22.%24thumbnail.%22/%7Bview%7D?a=commitdiff_plain;h=e0b83b187067cb6b9b7ecfbdd65387c3fed0c237;p=eq%2F.git Merge branch 'owenleonard/ht_sandbox' of git@github.com:apippin/tc into owenleonard/ht_sandbox --- e0b83b187067cb6b9b7ecfbdd65387c3fed0c237 diff --cc inc/class.tc.inc.php index 2b34526,bcf18e2..c3a2b79 --- a/inc/class.tc.inc.php +++ b/inc/class.tc.inc.php @@@ -691,10 -679,9 +691,10 @@@ class t $this->nextmatchs->template_alternate_row_color(&$this->t); $sandbox_table_data .= ""; $sandbox_table_data .= "$family_name"; - + $switch_case_list .= " $(\"#assignedFamilies option[value='".$family."']\").attr(\"selected\",true);\n"; + # 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; }