mirror of
https://github.com/go-gitea/gitea.git
synced 2025-03-21 11:12:07 +01: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>