From d98474cc6ace11ab0a1e1a73472cefb3f6052ab8 Mon Sep 17 00:00:00 2001 From: Marcin Kurczewski Date: Sat, 14 Mar 2015 23:07:34 +0100 Subject: [PATCH] Fixed broken home page for anonymous users --- public_html/templates/home.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { %>