diff options
Diffstat (limited to 'routers/repo/issue_timetrack.go')
-rw-r--r-- | routers/repo/issue_timetrack.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/repo/issue_timetrack.go b/routers/repo/issue_timetrack.go index 05cf137931..0f711bc734 100644 --- a/routers/repo/issue_timetrack.go +++ b/routers/repo/issue_timetrack.go @@ -39,7 +39,7 @@ func AddTimeManually(c *context.Context, form auth.AddTimeManuallyForm) { return } - if _, err := models.AddTime(c.User, issue, int64(total.Seconds())); err != nil { + if _, err := models.AddTime(c.User, issue, int64(total.Seconds()), time.Now()); err != nil { c.ServerError("AddTime", err) return } |