projects
/
eq
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
forgot to remove the lines that empty the tc_visit table - temporary development...
[eq/.git]
/
bin
/
import_ward_data
diff --git
a/bin/import_ward_data
b/bin/import_ward_data
index 68ee95d2d60ced3d2bd1a40a0a8227b5f7482be8..e1590b8752f40be924a1acc69f60bfca240f7155 100755
(executable)
--- a/
bin/import_ward_data
+++ b/
bin/import_ward_data
@@
-448,7
+448,7
@@
sub update_tc_visit_table
#print "$month_header\n";
#print $hometeaching_stats_data{$index}{$month_header};
#print "\n";
#print "$month_header\n";
#print $hometeaching_stats_data{$index}{$month_header};
#print "\n";
- foreach $i (reverse(0..$#history)) {
+ foreach $i (reverse(0..$#history
-1
)) {
# went back a calendar year, decrement $data_year
if ($months{$data_months[$i]} > $data_month)
{
# went back a calendar year, decrement $data_year
if ($months{$data_months[$i]} > $data_month)
{