projects
/
eq
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d25968e
)
fixed sandbox so it doesn't show last month of visits since the current month is...
author
Owen Leonard
<owen@balawis.leonard.fam>
Tue, 26 Oct 2010 22:04:52 +0000
(16:04 -0600)
committer
Owen Leonard
<owen@balawis.leonard.fam>
Tue, 26 Oct 2010 22:04:52 +0000
(16:04 -0600)
inc/class.tc.inc.php
patch
|
blob
|
history
diff --git
a/inc/class.tc.inc.php
b/inc/class.tc.inc.php
index 9a33637061bcdd43c0e10bed5e214fef6265fa4e..bcf18e26a79ba6cfb9ee1f9b721ed95a6b287e56 100644
(file)
--- a/
inc/class.tc.inc.php
+++ b/
inc/class.tc.inc.php
@@
-681,7
+681,7
@@
class tc
$sandbox_table_data .= "<td align=\"Left\" width=\"1000\">$family_name</td>";
# 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; }