Index: openacs-4/packages/oct-election/tcl/oct-election-procs.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/oct-election/tcl/oct-election-procs.tcl,v
diff -u -r1.1.1.1.4.8 -r1.1.1.1.4.9
--- openacs-4/packages/oct-election/tcl/oct-election-procs.tcl 17 Oct 2008 11:12:18 -0000 1.1.1.1.4.8
+++ openacs-4/packages/oct-election/tcl/oct-election-procs.tcl 21 Oct 2008 09:22:27 -0000 1.1.1.1.4.9
@@ -27,12 +27,14 @@
}
set num_days 90
+
set valid_voter_p 0
db_1row get_election {
select start_time,
end_time,
vote_forum_cutoff,
label,
+ cvs_history_days,
(case when now() > start_time then 1 else 0 end) as past_start_p,
(case when now() > end_time then 1 else 0 end) as past_end_p
from oct_election
@@ -78,7 +80,7 @@
if {$commits < 3} {
if {$status} {
set status 0
- set text "You are not a valid voter for this election because you have not committed in the CVS Repository in the last $cvs_history_days. See OpenACS Governance"
+ set text "You are not a valid voter for this election because you have not committed in the CVS Repository in the last $cvs_history_days . See OpenACS Governance"
}
} else {
set valid_voter_p 1