Commit 83435eaae55212c26ad5db141e8a6e21db5c2a03
Merge branch 'tr/bugfix' into tr/publish/preview
* tr/bugfix: or
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/actions/EmailAction.lua
@@ -50,7 +50,7 @@ function _M.listRpc(agent, data) | @@ -50,7 +50,7 @@ function _M.listRpc(agent, data) | ||
50 | end | 50 | end |
51 | if flag and ( not email.mid or tonum(email.mid) == mid ) | 51 | if flag and ( not email.mid or tonum(email.mid) == mid ) |
52 | and ( not email.endtime or tonum(email.endtime) > now )then | 52 | and ( not email.endtime or tonum(email.endtime) > now )then |
53 | - local time = math.max(tonum(email.timestamp, 0) , email.createtime) | 53 | + local time = math.max(tonum(email.timestamp, 0) , tonum(email.createtime)) |
54 | redisproxy:insertEmail({ | 54 | redisproxy:insertEmail({ |
55 | roleId = roleId, | 55 | roleId = roleId, |
56 | emailId = 0, | 56 | emailId = 0, |