mirror of
https://github.com/go-gitea/gitea
synced 2025-01-21 23:24:29 +00:00
54dd0fc88b
When migrating, g.issues is a map with all issues created during the migration. If an issue is not found in g.issues when inserting a comment or a review, it cannot exist in the database and trying to get it via GetIssueByIndex() will always fail and return an error. Signed-off-by: singuliere <singuliere@autistici.org>