1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-22 12:54:53 -05:00

Orgs: fix org page title when full name is not defined (#1495)

This commit is contained in:
silverwind 2017-04-15 04:02:46 +02:00 committed by Lunny Xiao
parent d409d3ab57
commit 237270ef50

View file

@ -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 {