debbugs: Handle empty subjects.
[software/mumi.git] / 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