Skip to content

Commit

Permalink
housekeeping
Browse files Browse the repository at this point in the history
  • Loading branch information
jprider63 committed Feb 2, 2017
1 parent ef22b13 commit d59344b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions yesod-form/ChangeLog.md
@@ -1,3 +1,7 @@
## 1.4.10

* Fixed `identifyForm` to properly return `FormMissing` for empty forms. [#1072](https://github.com/yesodweb/yesod/issues/1072)

## 1.4.9

* Added a `ToValue` instance for `Enctype` [#1296](https://github.com/yesodweb/yesod/pull/1296)
Expand Down
1 change: 1 addition & 0 deletions yesod-form/Yesod/Form/Functions.hs
Expand Up @@ -352,6 +352,7 @@ identifyForm identVal form = \fragment -> do
| otherwise = id
( res', w) <- eraseParams (form fragment')

-- Empty forms now properly return FormMissing. [#1072](https://github.com/yesodweb/yesod/issues/1072)
let res = if missing then FormMissing else res'
return ( res, w)

Expand Down
2 changes: 1 addition & 1 deletion yesod-form/yesod-form.cabal
@@ -1,5 +1,5 @@
name: yesod-form
version: 1.4.9
version: 1.4.10
license: MIT
license-file: LICENSE
author: Michael Snoyman <michael@snoyman.com>
Expand Down

0 comments on commit d59344b

Please sign in to comment.