You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by ru...@apache.org on 2017/04/05 01:22:43 UTC
[whimsy] branch master updated: fix two "off-by-one" errors
This is an automated email from the ASF dual-hosted git repository.
rubys pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git
The following commit(s) were added to refs/heads/master by this push:
new 4970cd6 fix two "off-by-one" errors
4970cd6 is described below
commit 4970cd624b23c88c4fa79792646bbf260b5592bc
Author: Sam Ruby <ru...@intertwingly.net>
AuthorDate: Tue Apr 4 21:22:07 2017 -0400
fix two "off-by-one" errors
---
www/members/non-participants.cgi | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/www/members/non-participants.cgi b/www/members/non-participants.cgi
index 2eea088..25922f4 100755
--- a/www/members/non-participants.cgi
+++ b/www/members/non-participants.cgi
@@ -76,14 +76,14 @@ _html do
matrix.each do |id, name, first, missed|
next unless id
- if missed > @meetingsMissed
+ if missed >= @meetingsMissed
_tr_ do
_td! {_a nameMap[id], href: "#{ROSTER}/#{id}"}
_td dates[-first-1] || dates.first
if missed >= first
_td {_em 'never'}
else
- _td dates[-missed]
+ _td dates[-missed-1]
end
end
count += 1
--
To stop receiving notification emails like this one, please contact
['"commits@whimsical.apache.org" <co...@whimsical.apache.org>'].