This commit is contained in:
stuzer05 2023-02-24 13:53:53 +02:00
parent f7a4c9e0aa
commit e187364d7a
2 changed files with 2 additions and 2 deletions

View File

@ -779,7 +779,7 @@ func ChangeIssueTitle(issue *Issue, doer *user_model.User, oldTitle string) (err
}
// ChangeIssuePlanTime changes the plan time of this issue, as the given user.
func ChangeIssuePlanTime(issue *Issue, doer *user_model.User, planTimeHours int, planTimeMinutes int) (err error) {
func ChangeIssuePlanTime(issue *Issue, doer *user_model.User, planTimeHours, planTimeMinutes int) (err error) {
ctx, committer, err := db.TxContext(db.DefaultContext)
if err != nil {
return err

View File

@ -62,7 +62,7 @@ func ChangeTitle(issue *issues_model.Issue, doer *user_model.User, title string)
}
// ChangeTitle changes the title of this issue, as the given user.
func ChangePlanTime(issue *issues_model.Issue, doer *user_model.User, planTimeHours int, planTimeMinutes int) (err error) {
func ChangePlanTime(issue *issues_model.Issue, doer *user_model.User, planTimeHours, planTimeMinutes int) (err error) {
issue.PlanTimeHours = planTimeHours
issue.PlanTimeMinutes = planTimeMinutes