about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--org-clubhouse.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/org-clubhouse.el b/org-clubhouse.el
index 3174da8bbd11..fdfe2d16f8f0 100644
--- a/org-clubhouse.el
+++ b/org-clubhouse.el
@@ -501,7 +501,7 @@ If set to nil, will never create stories with labels")
           (-map (lambda (cell) (cons (cdr cell) (car cell)))
                 org-clubhouse-state-alist)))
     (or (alist-get-equal state-name inv-state-name-alist)
-        (s-upcase state-name))))
+        (if state-name (s-upcase state-name) "UNKNOWN"))))
 
 ;;;
 ;;; Prompting