Commit 1fc9c12a438e48533ea06619e25f346e458f1ec7
1 parent
017184f4
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, |