whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ru...@apache.org
Subject [whimsy] branch master updated: fix two "off-by-one" errors
Date Wed, 05 Apr 2017 01:22:43 GMT
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 <rubys@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" <commits@whimsical.apache.org>'].

Mime
View raw message