Skip to content

Node.js based forum software built for the modern web

closes #3116

psychobunnyd1231cf4a887
diff --git a/src/views/admin/header.tpl b/src/views/admin/header.tpl
index 52f12d0e0c..d0460bb058 100644
--- a/src/views/admin/header.tpl
+++ b/src/views/admin/header.tpl
@@ -10,11 +10,11 @@
<script>
var RELATIVE_PATH = "{relative_path}";
- var config = JSON.parse('{configJSON}');
+ var config = JSON.parse('{{configJSON}}');
var app = {
- template: "{template.name}"
+ template: "{template.name}",
+ user: JSON.parse('{{userJSON}}')
};
- app.user = JSON.parse('{userJSON}');
</script>
<!--[if lt IE 9]>