Fixed png rending

This commit is contained in:
Torkel Ödegaard
2014-12-01 13:25:57 -08:00
parent ff6a2d014a
commit 90ae59ccaf
7 changed files with 14 additions and 82 deletions

View File

@@ -15,7 +15,7 @@ func authGetRequestAccountId(c *Context, sess session.Store) (int64, error) {
urlQuery := c.Req.URL.Query()
if len(urlQuery["render"]) > 0 {
accId, _ := strconv.Atoi(urlQuery["accountId"][0])
accId, _ := strconv.ParseInt(urlQuery["accountId"][0], 10, 64)
sess.Set("accountId", accId)
accountId = accId
}