mirror of
				https://gitea.com/gitea/tea.git
				synced 2025-10-31 17:25:27 +01:00 
			
		
		
		
	Fix Pr Create crash (#823)
Fix #822 Reviewed-on: https://gitea.com/gitea/tea/pulls/823 Reviewed-by: techknowlogick <techknowlogick@noreply.gitea.com> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-committed-by: Lunny Xiao <xiaolunwen@gmail.com>
This commit is contained in:
		 Lunny Xiao
					Lunny Xiao
				
			
				
					committed by
					
						 techknowlogick
						techknowlogick
					
				
			
			
				
	
			
			
			 techknowlogick
						techknowlogick
					
				
			
						parent
						
							4f33146b70
						
					
				
				
					commit
					61d4e571a7
				
			| @@ -33,7 +33,7 @@ func CreatePull(ctx *context.TeaContext) (err error) { | ||||
| 	if ctx.LocalRepo != nil { | ||||
| 		headOwner, headBranch, err = task.GetDefaultPRHead(ctx.LocalRepo) | ||||
| 		if err == nil { | ||||
| 			validator = nil | ||||
| 			validator = func(string) error { return nil } | ||||
| 		} | ||||
| 	} | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user