Fixed broken home page for anonymous users
This commit is contained in:
parent
2e06422b62
commit
d98474cc6a
1 changed files with 1 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
<% function showUser(name) { %>
|
||||
<% var showLink = canViewUsers && name %>
|
||||
<% var showLink = typeof(canViewUsers) !== 'undefined' && canViewUsers && name %>
|
||||
|
||||
<% if (showLink) { %>
|
||||
<a href="#/user/<%= name %>">
|
||||
|
|
Loading…
Reference in a new issue