842bba94ac
Fix a regression added by https://github.com/go-gitea/gitea/pull/10897/files.
Fix a regression added by https://github.com/go-gitea/gitea/pull/10897/files.