aboutsummaryrefslogtreecommitdiffstats
path: root/view/head.tpl
diff options
context:
space:
mode:
authorroot <root@debian.(none)>2012-05-24 04:29:33 -0400
committerroot <root@debian.(none)>2012-05-24 04:29:33 -0400
commit60df67b9e3717516191f39870a6e7b6db977fc06 (patch)
treeeb33f5d79912b7985269b4938f7e3ebc15181540 /view/head.tpl
parenta5b8339a75858d17d9b50f3694fe89daae1414fe (diff)
downloadvolse-hubzilla-60df67b9e3717516191f39870a6e7b6db977fc06.tar.gz
volse-hubzilla-60df67b9e3717516191f39870a6e7b6db977fc06.tar.bz2
volse-hubzilla-60df67b9e3717516191f39870a6e7b6db977fc06.zip
fix small js error when user not logged in
Diffstat (limited to 'view/head.tpl')
-rw-r--r--view/head.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/view/head.tpl b/view/head.tpl
index 0fffc1344..8a75a4b8e 100644
--- a/view/head.tpl
+++ b/view/head.tpl
@@ -29,7 +29,7 @@
<script>
var updateInterval = $update_interval;
- var localUser = $local_user;
+ var localUser = {{ if $local_user }}$local_user{{ else }}false{{ endif }};
function confirmDelete() { return confirm("$delitem"); }
function commentOpen(obj,id) {