]> git.mxchange.org Git - friendica.git/commitdiff
fix small js error when user not logged in
authorroot <root@debian.(none)>
Thu, 24 May 2012 08:29:33 +0000 (04:29 -0400)
committerroot <root@debian.(none)>
Thu, 24 May 2012 08:29:33 +0000 (04:29 -0400)
view/head.tpl

index 0fffc13443891997fb14248804b53ebd8705dcaf..8a75a4b8e0bf1ecb0900b8b1895f37c02f2a337d 100644 (file)
@@ -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) {