mirror of
https://gitee.com/gitea/gitea
synced 2026-03-30 08:15:38 +08:00
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>