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 46a905f0 Add missing string quotes
46a905f0 is described below

commit 46a905f0671d915c9d5e7f50b6a2dfbaa6f4ef2c
Author: Sebb <[email protected]>
AuthorDate: Sat Jan 28 23:07:39 2023 +0000

    Add missing string quotes
---
 www/secretary/workbench/models/mailbox.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/secretary/workbench/models/mailbox.rb 
b/www/secretary/workbench/models/mailbox.rb
index a4b0791a..38efa33b 100644
--- a/www/secretary/workbench/models/mailbox.rb
+++ b/www/secretary/workbench/models/mailbox.rb
@@ -180,7 +180,7 @@ class Mailbox
         href: "#{message[:source]}/#{id}/",
         from: (message[:name] || message[:from]).to_s.fix_encoding,
         date: message['Date'] || '',
-        subject: (message['Subject'] || (empty)).to_s.fix_encoding,
+        subject: (message['Subject'] || '(empty)').to_s.fix_encoding,
         status: message[:status]
       }
       if message[:secmail]

Reply via email to