about summary refs log tree commit diff
diff options
context:
space:
mode:
-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 d70110ef54df..5473b2717987 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"