diff --git a/public_html/templates/home.tpl b/public_html/templates/home.tpl
index 0c6ef50e..3f166678 100644
--- a/public_html/templates/home.tpl
+++ b/public_html/templates/home.tpl
@@ -1,5 +1,5 @@
<% function showUser(name) { %>
- <% var showLink = canViewUsers && name %>
+ <% var showLink = typeof(canViewUsers) !== 'undefined' && canViewUsers && name %>
<% if (showLink) { %>