Commit a7f5268
Prevent NPE when checking repo units if the user is nil (go-gitea#19625)
CheckRepoUnitUser should tolerate nil users.
Fix go-gitea#19613
Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>1 parent 4691e59 commit a7f5268
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
| 57 | + | |
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| |||
0 commit comments