Orgs: fix org page title when full name is not defined (#1495)
This commit is contained in:
		
							parent
							
								
									d409d3ab57
								
							
						
					
					
						commit
						237270ef50
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -377,7 +377,7 @@ func showOrgProfile(ctx *context.Context) {
 | 
			
		|||
	}
 | 
			
		||||
 | 
			
		||||
	org := ctx.Org.Organization
 | 
			
		||||
	ctx.Data["Title"] = org.FullName
 | 
			
		||||
	ctx.Data["Title"] = org.DisplayName()
 | 
			
		||||
 | 
			
		||||
	page := ctx.QueryInt("page")
 | 
			
		||||
	if page <= 0 {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue