1
1
mirror of https://github.com/go-gitea/gitea synced 2025-01-12 02:34:28 +00:00
6543 33c2c49627
Prevent panic when editing forked repos by API (#14960) (#14963)
When editing forked repos using the API the BaseRepository needs to loaded
in order to check its visibility otherwise there will be NPE panic.

Fix #14956

Signed-off-by: Andrew Thornton <art27@cantab.net>

Co-authored-by: zeripath <art27@cantab.net>
2021-03-12 08:54:18 +08:00
..
2019-12-20 19:07:12 +02:00
2019-12-20 19:07:12 +02:00
2019-12-20 19:07:12 +02:00
2020-01-29 13:55:23 +08:00
2020-10-27 16:26:07 -04:00