This is an automated email from the ASF dual-hosted git repository.

rubys pushed a commit to branch master
in repository

The following commit(s) were added to refs/heads/master by this push:
     new 1eb3960  fix regression on legal affairs report display
1eb3960 is described below

commit 1eb39604afa44c28f352a58c8f27803ba9694327
Author: Sam Ruby <>
AuthorDate: Sat Apr 14 21:47:26 2018 -0400

    fix regression on legal affairs report display
 www/board/agenda/views/models/agenda.js.rb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/www/board/agenda/views/models/agenda.js.rb 
index 4434f79..2a697ed 100644
--- a/www/board/agenda/views/models/agenda.js.rb
+++ b/www/board/agenda/views/models/agenda.js.rb
@@ -452,10 +452,10 @@ class Agenda
     if @attach =~ /^(\d|7?[A-Z]+|4[A-Z]|8[.A-Z])$/
       if User.role == :secretary or not Minutes.complete
-        if @attach.start_with? '8'
+        if @attach =~ /^8[.A-Z]/
           if @attach =~ /^8[A-Z]/
             list << {form: Post, text: 'edit item'}
-          elsif @text.strip().empty?
+          elsif not text or @text.strip().empty?
             list << {form: Post, text: 'post item'}
             list << {form: Post, text: 'edit items'}

To stop receiving notification emails like this one, please contact

Reply via email to