1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-10-15 19:42:04 +00:00

Merge remote-tracking branch 'upstream/forgejo' into port-32327

This commit is contained in:
Maxim Slipenko 2025-06-07 18:27:10 +03:00
commit 009a1bcf86
505 changed files with 13602 additions and 5442 deletions

View file

@ -6,6 +6,7 @@ package issues
import (
"context"
"errors"
"fmt"
"html/template"
"regexp"
@ -822,7 +823,7 @@ func (issue *Issue) MovePin(ctx context.Context, newPosition int) error {
}
if newPosition < 1 {
return fmt.Errorf("The Position can't be lower than 1")
return errors.New("The Position can't be lower than 1")
}
dbctx, committer, err := db.TxContext(ctx)