Commits

Luke Plant committed 0fbb058

Fixed crash with previewing comment

  • Participants
  • Parent commits b7d705f

Comments (0)

Files changed (1)

src/Blog/Forms.hs

 
 -- | An empty comment used for populating the default form.
 emptyComment = Cm.Comment {
-                 uid = undefined
+                 uid = 0 -- use 0 rather than undefined, to allow preview to work
                , post_id = undefined
                , timestamp = undefined
                , name = ""