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:
commit
009a1bcf86
505 changed files with 13602 additions and 5442 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue