Commit 737e2b3
Fix 500 error viewing pull request when fork has pull requests disabled (go-gitea#22512)
Swallow error just like in go-gitea#20839, for the case where there is no
protected branch.
Fixes go-gitea#20826 for me, though I can't tell if this now covers all cases.1 parent e6e2c2f commit 737e2b3
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
112 | 115 | | |
113 | 116 | | |
114 | 117 | | |
| |||
0 commit comments