debbugs: Handle empty subjects.
authorRicardo Wurmus <rekado@elephly.net>
Wed, 13 May 2020 09:26:28 +0000 (11:26 +0200)
committerRicardo Wurmus <rekado@elephly.net>
Wed, 13 May 2020 09:52:32 +0000 (11:52 +0200)
mumi/debbugs.scm

index 506d76f2c8a6bd1a6915a07d6671693596921429..943930aaadd25b710507441ba42e09be55b15c11 100644 (file)
@@ -275,7 +275,7 @@ defaults to 30 days."
                      (assoc-ref properties "Submitter")
                      (assoc-ref properties "Owner")
                      (or (assoc-ref properties "Severity") "normal")
-                     (let ((subject (assoc-ref properties "Subject")))
+                     (let ((subject (or (assoc-ref properties "Subject") "")))
                        (if (string-contains subject "=?UTF-8?Q?")
                            (or (false-if-exception
                                 (utf8->string