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

sebb 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 ff57fec2 Standardise
ff57fec2 is described below

commit ff57fec2bba3e9b3bc0536ed1dc53e2d3473fd6e
Author: Sebb <[email protected]>
AuthorDate: Thu Jun 26 00:03:13 2025 +0100

    Standardise
---
 www/secretary/workbench/views/actions/generic_reject.json.rb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/www/secretary/workbench/views/actions/generic_reject.json.rb 
b/www/secretary/workbench/views/actions/generic_reject.json.rb
index f5afe45f..3d2ad20b 100644
--- a/www/secretary/workbench/views/actions/generic_reject.json.rb
+++ b/www/secretary/workbench/views/actions/generic_reject.json.rb
@@ -19,8 +19,8 @@ task "email #{message.from}" do
     from: @from,
     cc: [
       '[email protected]',
-      (@pmc.private_mail_list if @pmc), # copy pmc if selected
-      @podling&.private_mail_list # copy podling if selected
+      (@pmc.private_mail_list if @pmc), # copy pmc
+      (@podling.private_mail_list if @podling) # copy podling
     ],
     body: template("#{@doctype}.erb")
   )

Reply via email to