about summary refs log tree commit diff
path: root/web/panettone/src/panettone.lisp
diff options
context:
space:
mode:
Diffstat (limited to 'web/panettone/src/panettone.lisp')
-rw-r--r--web/panettone/src/panettone.lisp3
1 files changed, 2 insertions, 1 deletions
diff --git a/web/panettone/src/panettone.lisp b/web/panettone/src/panettone.lisp
index d70110ef54..5473b27179 100644
--- a/web/panettone/src/panettone.lisp
+++ b/web/panettone/src/panettone.lisp
@@ -228,7 +228,8 @@
     (:header
      (:h1
       (who:esc
-       (if (id issue) "Edit Issue" "New Issue"))))
+       (if (and issue (id issue))
+           "Edit Issue" "New Issue"))))
     (:main
      (render/alert message)
      (:form :method "post"