summaryrefslogtreecommitdiffstats
path: root/core/include/user/main.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/include/user/main.php')
-rw-r--r--core/include/user/main.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/include/user/main.php b/core/include/user/main.php
index 1028a2e..4f30020 100644
--- a/core/include/user/main.php
+++ b/core/include/user/main.php
@@ -67,6 +67,10 @@ try {
'OG_IMAGES' => $User->getFiles()
]);
+ # Get access to the current item data from main template
+ $MainTemplate->set('TYPE', 'USER');
+ $MainTemplate->set('USER', $user_data);
+
echo $MainTemplate;
}