aboutsummaryrefslogtreecommitdiff
path: root/admin/site
diff options
context:
space:
mode:
Diffstat (limited to 'admin/site')
-rw-r--r--admin/site/index.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/admin/site/index.php b/admin/site/index.php
index 39df50563..ef35b9dfd 100644
--- a/admin/site/index.php
+++ b/admin/site/index.php
@@ -17,6 +17,9 @@
// Make sure only valid admin users can see this
admin_gatekeeper();
+ // Set admin user for user block
+ set_page_owner($_SESSION['guid']);
+
// Display main admin menu
page_draw(elgg_echo("admin:site"),elgg_view_layout("two_column_left_sidebar",'', elgg_view_title(elgg_echo('admin:site')) . elgg_view("admin/site")));