diff --git a/Handler/Select.hs b/Handler/Select.hs index 15daa5a..82d6b43 100644 --- a/Handler/Select.hs +++ b/Handler/Select.hs @@ -54,7 +54,7 @@ postRechargeR uId = $ renderBootstrap3 BootstrapBasicForm rechargeForm case res of FormSuccess amount -> - if amount < 0 + if amount <= 0 then do setMessageI MsgNegativeRecharge redirect $ RechargeR uId diff --git a/yammat.cabal b/yammat.cabal index 2267813..ca2a713 100644 --- a/yammat.cabal +++ b/yammat.cabal @@ -1,5 +1,5 @@ name: yammat -version: 0.0.6 +version: 0.0.7 cabal-version: >= 1.8 build-type: Simple license: AGPL-3